See patch 4 for explanation of the bug.
Peter Krempa (4):
conf: Allow specifying only the slot number for hotpluggable memory
qemu: process: detect if dimm aliases are broken on reconnect
qemu: Assign slots to memory devices prior to usage
qemu: Generate memory device aliases according to slot number
src/conf/domain_conf.c | 18 +++--
src/qemu/qemu_alias.c | 27 +++++--
src/qemu/qemu_alias.h | 3 +-
src/qemu/qemu_command.c | 3 +-
src/qemu/qemu_domain.h | 3 +
src/qemu/qemu_domain_address.c | 91 ++++++++++++++++++++++
src/qemu/qemu_domain_address.h | 4 +
src/qemu/qemu_hotplug.c | 7 +-
src/qemu/qemu_process.c | 25 ++++++
.../qemuxml2argv-hugepages-numa.args | 2 +-
.../qemuxml2argv-memory-hotplug-dimm-addr.args | 2 +
.../qemuxml2argv-memory-hotplug-dimm-addr.xml | 11 ++-
.../qemuxml2argv-memory-hotplug-dimm.args | 4 +-
.../qemuxml2argv-memory-hotplug-ppc64-nonuma.args | 4 +-
tests/qemuxml2argvtest.c | 2 +-
.../qemuxml2xmlout-memory-hotplug-dimm.xml | 2 +
16 files changed, 184 insertions(+), 24 deletions(-)
--
2.10.2