]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: refactor checking for unsupported memory devices
authorPeter Krempa <pkrempa@redhat.com>
Tue, 23 Feb 2016 09:58:10 +0000 (10:58 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 9 Mar 2016 09:09:16 +0000 (10:09 +0100)
commit185d13b1b030cf29146352fe7e6eccc40c1f0283
treee4b5ccc7d251343ee2b1e6a64d299bbd938da792
parent23eb382128427cb32f844e131fa35db16106f2ce
conf: refactor checking for unsupported memory devices

Introduce a helper to check supported device and domain config and move
the memory hotplug checks to it.

The advantage of this approach is that by default all new features are
considered unsupported by all hypervisors unless specifically changed
rather than the previous approach where every hypervisor would need to
declare that a given feature is unsupported.
16 files changed:
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/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/vz/vz_driver.c
src/xen/xen_driver.c
src/xenapi/xenapi_driver.c