libvirt/src/qemu
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
..
EVENTHANDLERS.txt qemu: add short document on qemu event handlers 2014-10-06 13:50:57 -04:00
libvirtd_qemu.aug qemu: Automatically create NVRAM store 2014-09-10 09:38:07 +02:00
MIGRATION.txt qemu: Implement migration job phases 2011-07-27 08:45:09 -06:00
qemu_agent.c qemu: agent: Don't automatically disable CPU0 via guest agent 2015-07-01 09:38:02 +02:00
qemu_agent.h qemu: wire up virDomainSetUserPassword 2015-05-21 16:24:02 +02:00
qemu_blockjob.c qemuDomainEventQueue: Check if event is non-NULL 2015-09-18 13:50:03 +02:00
qemu_blockjob.h qemu: Use domain condition for synchronous block jobs 2015-06-19 15:15:10 +02:00
qemu_capabilities.c Implement infrastracture for mocking up QEMU capabilities cache 2015-09-22 13:56:59 +02:00
qemu_capabilities.h qemu: Introduce QEMU_CAPS_DEVICE_VIRTIO_NET 2015-09-10 09:25:02 +02:00
qemu_capspriv.h Implement infrastracture for mocking up QEMU capabilities cache 2015-09-22 13:56:59 +02:00
qemu_cgroup.c qemuDomainEventQueue: Check if event is non-NULL 2015-09-18 13:50:03 +02:00
qemu_cgroup.h qemu: cgroup: Kill qemuSetupCgroupVcpuPin() 2015-04-02 10:12:08 +02:00
qemu_command.c conf: Don't always recalculate initial memory size from NUMA size totals 2015-09-22 16:09:28 +02:00
qemu_command.h Ignore virtio-mmio disks in qemuAssignDevicePCISlots() 2015-09-15 11:35:50 +02:00
qemu_conf.c Detect location of qemu-bridge-helper 2015-08-13 21:31:55 +02:00
qemu_conf.h qemu: Adjust VM id allocation 2015-07-29 09:15:44 +02:00
qemu_domain.c conf: Pre-calculate initial memory size instead of always calculating it 2015-09-22 16:09:28 +02:00
qemu_domain.h qemu: Make memory alignment helper more universal 2015-09-22 16:09:27 +02:00
qemu_driver.c conf: Rename max_balloon to total_memory 2015-09-22 16:09:28 +02:00
qemu_driver.h Change file names in comments to match the files they are in 2014-03-10 14:26:04 +01:00
qemu_hostdev.c drivers: use virDirRead API 2014-04-28 17:52:45 -06:00
qemu_hostdev.h Capitalize USB, PCI and SCSI in hostdev methods 2014-03-12 16:20:01 +00:00
qemu_hotplug.c qemu: Make memory alignment helper more universal 2015-09-22 16:09:27 +02:00
qemu_hotplug.h qemu: Implement memory device hotunplug 2015-03-23 14:41:14 +01:00
qemu_hotplugpriv.h qemu: Let tests override waiting time for device unplug 2013-08-26 16:09:55 +02:00
qemu_interface.c qemu: add udp interface support 2015-09-02 10:17:50 +02:00
qemu_interface.h qemu: add a qemuInterfaceStopDevices(), called when guest CPUs stop 2014-12-13 22:20:28 -05:00
qemu_migration.c conf: Add XML parser flag that will allow us to do incompatible updates 2015-09-22 16:09:27 +02:00
qemu_migration.h qemu: Remember incoming migration errors 2015-07-10 11:47:13 +02:00
qemu_monitor_json.c qemu: Update state of block job to READY only if it actually is ready 2015-07-21 15:32:59 +02:00
qemu_monitor_json.h qemu: monitor: Remove qemuMonitorGetBlockExtent 2015-06-26 16:41:24 +02:00
qemu_monitor_text.c Drive hot-unplug: reliable parsing of HMP results 2015-08-12 18:30:28 +02:00
qemu_monitor_text.h qemu: monitor: Remove qemuMonitorGetBlockExtent 2015-06-26 16:41:24 +02:00
qemu_monitor.c qemuMonitorOpenInternal: remove redundant code 2015-08-10 13:47:33 +02:00
qemu_monitor.h fix typo in qemu_monitor 2015-07-24 14:29:34 +02:00
qemu_process.c qemuDomainEventQueue: Check if event is non-NULL 2015-09-18 13:50:03 +02:00
qemu_process.h qemu: Connect to guest agent after channel hotplug 2015-04-26 17:19:22 +02:00
qemu_processpriv.h qemu: Export qemuProcessHandleDeviceDeleted for tests 2013-08-26 16:09:55 +02:00
qemu.conf qemu: Add AAVMF to the list of known UEFIs 2015-01-29 15:20:47 +01:00
test_libvirtd_qemu.aug.in qemu: Add AAVMF to the list of known UEFIs 2015-01-29 15:20:47 +01:00
THREADS.txt There is no virDomainFindBy{ID, Name, UUID} anymore 2015-08-03 13:08:00 +02:00