]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: Add support for parsing and formatting max memory and slot count
authorPeter Krempa <pkrempa@redhat.com>
Mon, 11 Aug 2014 15:40:32 +0000 (17:40 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 23 Mar 2015 13:25:14 +0000 (14:25 +0100)
commitbffb9163a1f27cd16dc5b4844525db36cdfe1c3c
tree67946430e5699527b5c8565d9abb839dbca0a3ea
parent19e85d845495fa022abe3e7d0599d8329396c1c9
conf: Add support for parsing and formatting max memory and slot count

Add a XML element that will allow to specify maximum supportable memory
and the count of memory slots to use with memory hotplug.

To avoid possible confusion and misuse of the new element this patch
also explicitly forbids the use of the maxMemory setting in individual
drivers's post parse callbacks. This limitation will be lifted when the
support is implemented.
19 files changed:
docs/formatdomain.html.in
docs/schemas/domaincommon.rng
src/bhyve/bhyve_domain.c
src/conf/domain_conf.c
src/conf/domain_conf.h
src/libvirt_private.syms
src/libxl/libxl_domain.c
src/lxc/lxc_domain.c
src/openvz/openvz_driver.c
src/parallels/parallels_driver.c
src/phyp/phyp_driver.c
src/qemu/qemu_domain.c
src/uml/uml_driver.c
src/vbox/vbox_common.c
src/vmware/vmware_driver.c
src/vmx/vmx.c
src/xen/xen_driver.c
src/xenapi/xenapi_driver.c
tests/domainschemadata/maxMemory.xml [new file with mode: 0644]