Re: [libvirt] [PATCH] LXC: Allow setting max mem lower than current mem

2014-07-07 Thread Peter Krempa
On 07/07/14 13:20, Ján Tomko wrote: > For inactive domains, set both current and maximum memory > to the specified 'maximum memory' value. > > This matches the behavior of QEMU driver's SetMaxMemory. > > https://bugzilla.redhat.com/show_bug.cgi?id=1091132 > --- > src/lxc/lxc_driver.c | 11 ++

[libvirt] [PATCH] LXC: Allow setting max mem lower than current mem

2014-07-07 Thread Ján Tomko
For inactive domains, set both current and maximum memory to the specified 'maximum memory' value. This matches the behavior of QEMU driver's SetMaxMemory. https://bugzilla.redhat.com/show_bug.cgi?id=1091132 --- src/lxc/lxc_driver.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(