[libvirt] [PATCH] LXC: Fix the output units of ram filesystem size

2013-10-08 Thread Ján Tomko
Commit 76b644c added support for adding RAM filesystems to LXC domains, with a syntax of: where default unit would be KiB per documentation, however the XML parser treated sizes without units as bytes. When formatting the XML, this was divided by 1024, but the KiB units were put inside the 'units

Re: [libvirt] [PATCH] LXC: Fix the output units of ram filesystem size

2013-10-08 Thread Eric Blake
On 10/08/2013 11:28 AM, Ján Tomko wrote: > Commit 76b644c added support for adding RAM filesystems to LXC > domains, with a syntax of: > > where default unit would be KiB per documentation, however the > XML parser treated sizes without units as bytes. > > When formatting the XML, this was divide

Re: [libvirt] [PATCH] LXC: Fix the output units of ram filesystem size

2013-10-09 Thread Ján Tomko
On 10/08/2013 07:43 PM, Eric Blake wrote: > On 10/08/2013 11:28 AM, Ján Tomko wrote: >> Commit 76b644c added support for adding RAM filesystems to LXC >> domains, with a syntax of: >> >> where default unit would be KiB per documentation, however the >> XML parser treated sizes without units as byt

Re: [libvirt] [PATCH] LXC: Fix the output units of ram filesystem size

2013-10-09 Thread Daniel P. Berrange
On Wed, Oct 09, 2013 at 11:40:35AM +0200, Ján Tomko wrote: > On 10/08/2013 07:43 PM, Eric Blake wrote: > > On 10/08/2013 11:28 AM, Ján Tomko wrote: > >> Commit 76b644c added support for adding RAM filesystems to LXC > >> domains, with a syntax of: > >> > >> where default unit would be KiB per docu