[libvirt] [PATCHv2] virsh: use - not _ in memtune option names

Eric Blake eblake at redhat.com
Tue Oct 26 21:55:05 UTC 2010


On 10/26/2010 03:46 PM, Matthias Bolte wrote:
> 2010/10/26 Eric Blake<eblake at redhat.com>:
>> * tools/virsh.c (opts_memtune): All other options in virsh use -
>> for separating words.
>> ---
>>
>> v2: test correct option names in memtune implementation
>>
>>
>>      min_guarantee =
>> -        vshCommandOptLongLong(cmd, VIR_DOMAIN_MEMORY_MIN_GUARANTEE, NULL);
>> +        vshCommandOptLongLong(cmd, "min-guarantee", NULL);
>>      if (min_guarantee)
>>          nparams++;
>>
>> --
>> 1.7.2.3
>>
>
> This looks better.
>
> ACK.

Thanks; pushed.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org




More information about the libvir-list mailing list