[libvirt] [PATCHv2] LXC: Fix handling of RAM filesystem size units

Eric Blake eblake at redhat.com
Wed Oct 9 13:55:59 UTC 2013


On 10/09/2013 07:46 AM, Daniel P. Berrange wrote:
>> Consistent output, as long as we accept exactly one of the two names on
>> input, seems reasonable to me.  Then again, if we released documentation
>> of one particular spelling, it's better to preserve that spelling for
>> back-compat, even if inconsistent.  As we didn't document ANY name
>> (whether 'unit' or 'units'), I'd much rather output a consistent name.
> 
> The current libvirt releases print 'units' and the libvirt-glib and
> libvirt-sandbox libraries are parsing 'units', so renaming it to
> 'unit' will break that.

So back-compat IS a concern, and we MUST output 'units'.  So much for
consistency, but back-compat wins every time.

-- 
Eric Blake   eblake 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: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20131009/967fa91d/attachment-0001.sig>


More information about the libvir-list mailing list