[libvirt] [PATCH 00/10] qemu: hotplug: Refactor for -blockdev support (blockdev-add saga)

Peter Krempa pkrempa at redhat.com
Tue Jul 17 12:14:20 UTC 2018


A bunch of refactors which could be separated from my blockdev add
branch.

The patches modify the disk hotplug/unplug and media change code so that
we can easily add support for -blockdev later on.

Peter Krempa (10):
  qemu: hotplug: Reuse qemuHotplugPrepareDiskAccess in
    qemuDomainRemoveDiskDevice
  qemu: hotplug: Remove pointless variable
  qemu: hotplug: Don't format NULL in %s in qemuHotplugPrepareDiskAccess
  qemu: hotplug: Prepare for multiple backing chain member hotplug
  qemu: hotplug: Don't leak 'disk' if VM crashes during unplug finishing
  qemu: hotplug: Reuse qemuHotplugDiskSourceRemove for disk backend
    removal
  qemu: hotplug: Simplify removal of managed PR infrastructure on unplug
  qemu: hotplug: Refactor/simplify PR managed addition to VM
  qemu: hotplug: Extract legacy disk media changing bits
  qemu: hotplug: Make qemuHotplugWaitForTrayEject reusable

 src/qemu/qemu_hotplug.c | 508 ++++++++++++++++++++++++++++++++++--------------
 1 file changed, 358 insertions(+), 150 deletions(-)

-- 
2.16.2




More information about the libvir-list mailing list