]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: handle unassigned PCI hostdevs in command line
authorDaniel Henrique Barboza <danielhb413@gmail.com>
Tue, 17 Dec 2019 20:35:03 +0000 (17:35 -0300)
committerCole Robinson <crobinso@redhat.com>
Wed, 18 Dec 2019 18:08:28 +0000 (13:08 -0500)
commitae2edb39b9f67afccbc676c327f4bcade92745cf
tree27e4b2e2945e4019019a11f095f553e3bf87075f
parent96999404cb3bfcdb0f169857d9a0ea3d602cbc43
qemu: handle unassigned PCI hostdevs in command line

Previous patch made it possible for the QEMU driver to check if
a given PCI hostdev is unassigned, by checking if dev->info->type is
VIR_DOMAIN_DEVICE_ADDRESS_TYPE_UNASSIGNED, meaning that this device
shouldn't be part of the actual guest launch.

Reviewed-by: Cole Robinson <crobinso@redhat.com>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
src/qemu/qemu_command.c
tests/qemuxml2argvdata/hostdev-pci-address-unassigned.args [new file with mode: 0644]
tests/qemuxml2argvtest.c