v2 of:
https://listman.redhat.com/archives/libvir-list/2023-April/239378.html
diff to v1:
- More patches
- Dropped qemuHostdevPreparePCIDevicesCheckSupport() completely
- Dropped virQEMUCaps passing (patch 9/9)
- Dropped even more checks effectively dead code
Michal Prívozník (9):
qemuDomainAttachHostDevice: Prepare device early and for all types
qemu_domain: Move internals of qemuDomainPrepareHostdev() into a
separate function
qemu: Move <hostdev/> PCI backend setting into
qemuDomainPrepareHostdev()
qemuxml2argvtest: Drop needless PCI backend setting
qemu: Deny all but VFIO PCI backends in hostdev prepare phase
qemu_hotplug: Drop PCI backend check in
qemuDomainAttachHostPCIDevice()
qemu: Move <hostdev> SCSI path generation into
qemuDomainPrepareHostdev()
qemu: Remove empty functions
qemu: Stop virQEMUCaps propagation into qemuHostdevPreparePCIDevices()
src/qemu/qemu_domain.c | 167 ++++++++++++++++++++++++++++-----------
src/qemu/qemu_driver.c | 56 -------------
src/qemu/qemu_hostdev.c | 67 +---------------
src/qemu/qemu_hostdev.h | 2 -
src/qemu/qemu_hotplug.c | 43 ++--------
src/qemu/qemu_process.c | 60 +-------------
src/qemu/qemu_process.h | 3 -
tests/qemuxml2argvmock.c | 10 +++
tests/qemuxml2argvtest.c | 28 -------
9 files changed, 142 insertions(+), 294 deletions(-)
--
2.39.2