libvirt/src/conf
Peter Krempa 0fed5a7bc7 conf: Don't always recalculate initial memory size from NUMA size totals
When implementing memory hotplug I've opted to recalculate the initial
memory size (contents of the <memory> element) as a sum of the sizes of
NUMA nodes when NUMA was enabled. This was based on an assumption that
qemu did not allow starting when the NUMA node size total didn't equal
to the initial memory size. Unfortunately the check was introduced to
qemu just lately.

This patch uses the new XML parser flag to decide whether it's safe to
update the memory size total from the NUMA cell sizes or not.

As an additional improvement we now report an error in case when the
size of hotplug memory would exceed the total memory size.

The rest of the changes assures that the function is called with correct
flags.
2015-09-22 16:09:28 +02:00
..
capabilities.c virCapabilitiesDomainDataLookup: Produce saner error message 2015-06-15 07:29:37 +02:00
capabilities.h
cpu_conf.c XML: escape strings where we should do it 2015-05-12 12:05:07 +02:00
cpu_conf.h
device_conf.c conf: more useful error message when pci function is out of range 2015-08-08 18:37:35 -04:00
device_conf.h conf: more useful error message when pci function is out of range 2015-08-08 18:37:35 -04:00
domain_addr.c conf: new pcie-controller model "pcie-switch-downstream-port" 2015-08-09 22:30:47 -04:00
domain_addr.h conf: new pci controller model "pcie-switch-upstream-port" 2015-08-09 22:12:29 -04:00
domain_audit.c conf: audit: Audit physical memory size rather than balloon request 2015-07-01 10:18:10 +02:00
domain_audit.h qemu: Add support to Add/Delete IOThreads 2015-04-27 12:36:36 -04:00
domain_capabilities.c XML: escape strings where we should do it 2015-05-12 12:05:07 +02:00
domain_capabilities.h
domain_conf.c conf: Don't always recalculate initial memory size from NUMA size totals 2015-09-22 16:09:28 +02:00
domain_conf.h conf: Don't always recalculate initial memory size from NUMA size totals 2015-09-22 16:09:28 +02:00
domain_event.c
domain_event.h
domain_nwfilter.c
domain_nwfilter.h
interface_conf.c interface: don't error out if a bond has no interfaces 2015-05-27 14:25:45 -04:00
interface_conf.h
netdev_bandwidth_conf.c virNetDevBandwidthParseRate: Reject negative values 2015-08-10 13:47:48 +02:00
netdev_bandwidth_conf.h qemu: add udp interface support 2015-09-02 10:17:50 +02:00
netdev_vlan_conf.c
netdev_vlan_conf.h
netdev_vport_profile_conf.c
netdev_vport_profile_conf.h
network_conf.c conf: Don't try formating non-existing addresses 2015-08-11 16:07:41 +02:00
network_conf.h conf: Add getter for network routes 2015-07-14 08:04:49 +02:00
network_event.c
network_event.h
networkcommon_conf.c
networkcommon_conf.h
node_device_conf.c conf: make virNodeDevCapData an official type 2015-05-18 10:22:20 -04:00
node_device_conf.h conf: make virNodeDevCapData an official type 2015-05-18 10:22:20 -04:00
numa_conf.c conf: fix crash when parsing a unordered NUMA <cell/> 2015-09-08 10:40:20 +02:00
numa_conf.h numa_conf: Introduce virDomainNumaGetMaxCPUID 2015-08-07 17:19:03 +02:00
nwfilter_conf.c
nwfilter_conf.h
nwfilter_ipaddrmap.c
nwfilter_ipaddrmap.h
nwfilter_params.c
nwfilter_params.h
object_event_private.h
object_event.c
object_event.h
secret_conf.c
secret_conf.h
snapshot_conf.c
snapshot_conf.h
storage_conf.c mpath: Don't allow more than one mpath pool at a time 2015-06-30 11:21:42 -04:00
storage_conf.h
virchrdev.c check if console/channel PTY is null before attempting to open 2015-06-03 18:13:06 +02:00
virchrdev.h