• E
    virsh: allow empty string arguments · 6eaa4ee4
    Eric Blake 提交于
    "virsh connect ''" should try to connect to the default connection,
    but the previous patch made it issue a warning about an invalid URI.
    
    * tools/virsh.c (VSH_OFLAG_EMPTY_OK): New option flag.
    (vshCommandOptString): Per the declaration, value is required to
    be non-NULL.  Honor new flag.
    (opts_connect): Allow empty string connection.
    6eaa4ee4
virsh.c 351.8 KB