]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
LXC: Allow setting max mem lower than current mem
authorJán Tomko <jtomko@redhat.com>
Thu, 26 Jun 2014 07:13:25 +0000 (09:13 +0200)
committerJán Tomko <jtomko@redhat.com>
Mon, 7 Jul 2014 12:41:26 +0000 (14:41 +0200)
commitba8c83614a6e0f1600d4b31abab8445b812dc1d8
treee3c59a32749158d0bcde765689083fbabdedd922
parent87388228f47a15308aee4b6416e31596242bab41
LXC: Allow setting max mem lower than current mem

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