]> xenbits.xensource.com Git - libvirt.git/commit
maxmem: implement virDomainSetMaxMemory API of the qemu driver
authorTaku Izumi <izumi.taku@jp.fujitsu.com>
Fri, 8 Apr 2011 05:08:13 +0000 (14:08 +0900)
committerEric Blake <eblake@redhat.com>
Fri, 8 Apr 2011 23:40:29 +0000 (17:40 -0600)
commitc1795c52040ac514710bd977b13e2f7af4163b7a
tree765af0099ce26d0304e6792deaee6caf27ec6286
parente3b4ca21b2039e23215eeb0b18097d7edcccc13b
maxmem: implement virDomainSetMaxMemory API of the qemu driver

This patch implements the code to support virDomainSetMaxMemory API,
and to support VIR_DOMAIN_MEM_MAXIMUM flag in qemudDomainSetMemoryFlags function.
As a result, we can change the maximum memory size of inactive QEMU guests.

Signed-off-by: Taku Izumi <izumi.taku@jp.fujitsu.com>
src/libvirt.c
src/qemu/qemu_driver.c