Re: [PATCH] virsh: allow empty string arguments

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/15/2011 02:13 PM, Jiri Denemark wrote:
> On Mon, Mar 14, 2011 at 10:46:07 -0600, Eric Blake wrote:
>> "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.
>> ---
>>  tools/virsh.c |   22 +++++++++++++---------
>>  1 files changed, 13 insertions(+), 9 deletions(-)
> 
> ACK

Thanks; pushed.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]