]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Add a check for slot and base dimm address conflicts
authorLuyao Huang <lhuang@redhat.com>
Mon, 15 Jun 2015 12:33:49 +0000 (20:33 +0800)
committerJohn Ferlan <jferlan@redhat.com>
Thu, 18 Jun 2015 12:08:42 +0000 (08:08 -0400)
commitcb7e13ffbf114d16db26be755838e1f455f3392f
treea31b703be6eeda9d733f79c83d0675676405a95a
parentd7d910d98de24dcc5fe3acfb2d37b6258f87ddfe
qemu: Add a check for slot and base dimm address conflicts

When hotplugging a memory device, there wasn't a check to determine
if there is a conflict with the address space being used by the to
be added memory device and any existing device which is disallowed by qemu.

This patch adds a check to ensure the new device address doesn't
conflict with any existing device.

Signed-off-by: Luyao Huang <lhuang@redhat.com>
src/qemu/qemu_command.c