[PATCH 0/4] qemu: Move <hostdev> preparation into qemuDomainPrepareHostdev()

Michal Privoznik posted 4 patches 1 year, 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1681479711.git.mprivozn@redhat.com
There is a newer version of this series
src/qemu/qemu_domain.c   | 22 ++++++++++++++++
src/qemu/qemu_driver.c   | 56 ---------------------------------------
src/qemu/qemu_hostdev.c  | 16 +++++------
src/qemu/qemu_hotplug.c  | 11 +++-----
src/qemu/qemu_process.c  | 57 ----------------------------------------
src/qemu/qemu_process.h  |  3 ---
tests/qemuxml2argvmock.c | 17 ++++++++++++
tests/qemuxml2argvtest.c | 28 --------------------
8 files changed, 50 insertions(+), 160 deletions(-)
[PATCH 0/4] qemu: Move <hostdev> preparation into qemuDomainPrepareHostdev()
Posted by Michal Privoznik 1 year, 1 month ago
Now, technically 2/4 is a v3 of:

https://listman.redhat.com/archives/libvir-list/2023-April/239368.html

but when reviewing it, I realized that we can move more code around and
this ended up bigger cleanup.

Michal Prívozník (3):
  qemuDomainAttachHostDevice: Prepare device early and for all types
  qemu: Move <hostdev> SCSI path generation into
    qemuDomainPrepareHostdev()
  qemu: Remove empty functions

Zhenzhong Duan (1):
  qemu: Move <hostdev/> PCI backend setting into
    qemuDomainPrepareHostdev()

 src/qemu/qemu_domain.c   | 22 ++++++++++++++++
 src/qemu/qemu_driver.c   | 56 ---------------------------------------
 src/qemu/qemu_hostdev.c  | 16 +++++------
 src/qemu/qemu_hotplug.c  | 11 +++-----
 src/qemu/qemu_process.c  | 57 ----------------------------------------
 src/qemu/qemu_process.h  |  3 ---
 tests/qemuxml2argvmock.c | 17 ++++++++++++
 tests/qemuxml2argvtest.c | 28 --------------------
 8 files changed, 50 insertions(+), 160 deletions(-)

-- 
2.39.2