[libvirt] [PATCHv2 15/15] virsh: improve memory unit parsing

Eric Blake eblake at redhat.com
Thu Mar 8 01:26:41 UTC 2012


On 03/07/2012 06:14 AM, Peter Krempa wrote:
> On 03/06/2012 01:34 AM, Eric Blake wrote:
>> The last vestige of the inaccurate 'kilobytes' when we meant 1024 is
>> now gone.  And virsh is now useful for setting memory in units other
>> than KiB.
>>
>>
>> +static int
>> +cmdMemtuneGetSize(const vshCmd *cmd, const char *name, long long *value)
> 
> As this is a helper function rename it please to vshMemtuneGetSize to
> avoid confusion with command functions.

Sure.

> 
> ACK with the name change.

Thanks for the review.  Nits fixed, and series pushed.

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120307/2587676f/attachment-0001.sig>


More information about the libvir-list mailing list