[libvirt] [PATCH 0/4] qemu: hotplug: Clean up and fix disk device unplug (blockdev-add saga)

Peter Krempa pkrempa at redhat.com
Fri Mar 15 14:44:54 UTC 2019


Refactor checking of disk bus and type for disk unplug and fix checking
whether a virtio disk has a running block job by deleting the
almost-identical implementation specific to virtio disks.

Peter Krempa (4):
  qemu: hotplug: Remove 'ret' variable in qemuDomainDetachDeviceDiskLive
  qemu: hotplug: Use typecasted enum in qemuDomainDetachDeviceDiskLive
  qemu: hotplug: Use switch statement for selecting disk bus function
  qemu: hotplug: Merge virtio and non-virtio disk unplug code

 src/qemu/qemu_hotplug.c | 87 ++++++++++++++++++-----------------------
 1 file changed, 39 insertions(+), 48 deletions(-)

-- 
2.20.1




More information about the libvir-list mailing list