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

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



On 10/26/2010 03:46 PM, Matthias Bolte wrote:
2010/10/26 Eric Blake<eblake 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 redhat com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org


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