]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: report error when shmem has an invalid address
authorLuyao Huang <lhuang@redhat.com>
Wed, 17 Jun 2015 03:56:21 +0000 (11:56 +0800)
committerMartin Kletzander <mkletzan@redhat.com>
Wed, 8 Jul 2015 14:30:42 +0000 (16:30 +0200)
commit955d9bb8d0071a9cc7d4851eb329054fa4a97cbf
treeb21bb4001a3886767a742a9be9bc6ae1c684be8c
parent2c2655744afbdd033996548dfcdb6d178225f8fd
qemu: report error when shmem has an invalid address

If user passes an invalid address for shared memory device to qemu,
neither libvirt nor qemu will report an error, but qemu will auto assign
a pci address to the shared memory device.

Signed-off-by: Luyao Huang <lhuang@redhat.com>
src/qemu/qemu_command.c
tests/qemuxml2argvdata/qemuxml2argv-shmem-invalid-address.xml [new file with mode: 0644]
tests/qemuxml2argvtest.c