Re: [libvirt] [PATCH 3/3] xml: allow scaled memory on input

2012-02-23 Thread Eric Blake
On 02/22/2012 09:59 PM, Eric Blake wrote: > Output is still in kibibytes, but input can now be in different > scales for ease of typing. > > * src/conf/domain_conf.c (virDomainParseMemory): New helper. > (virDomainDefParseXML): Use it when parsing. > * docs/schemas/domaincommon.rng: Expand XML. >

Re: [libvirt] [PATCH 3/3] xml: allow scaled memory on input

2012-02-23 Thread Christophe Fergeau
On Wed, Feb 22, 2012 at 09:59:47PM -0700, Eric Blake wrote: > @@ -424,12 +424,27 @@ > >memory >The maximum allocation of memory for the guest at boot time. > -The units for this value are kilobytes (i.e. blocks of 1024 > bytes) > +The units for this value are

[libvirt] [PATCH 3/3] xml: allow scaled memory on input

2012-02-22 Thread Eric Blake
Output is still in kibibytes, but input can now be in different scales for ease of typing. * src/conf/domain_conf.c (virDomainParseMemory): New helper. (virDomainDefParseXML): Use it when parsing. * docs/schemas/domaincommon.rng: Expand XML. * docs/formatdomain.html.in (elementsMemoryAllocation):