[libvirt] [PATCH 0/5] Some USB hotplug and alias cleanups

John Ferlan jferlan at redhat.com
Wed Jun 29 21:37:59 UTC 2016


A post 2.0.0 type adjustment...

While answering a question for bz 1289391 regarding the USB path - I figured
that making the code be more the virtio and scsi code paths would at least
have a better look'n'feel.  Then I tripped in to the alias morass and cleaned
that up a bit too.

John Ferlan (5):
  qemu: Reorder qemuDomainAttachUSBMassStorageDevice failure path
  qemu: Move drive alias processing to qemu_alias
  qemu: Use qemuAssignDeviceDiskDriveAlias
  qemu: Make QEMU_DRIVE_HOST_PREFIX more private
  qemu: Add attempt to call qemuMonitorDriveDel for USB failure path

 src/qemu/qemu_alias.c        | 34 +++++++++++++++++++++++++
 src/qemu/qemu_alias.h        |  4 +++
 src/qemu/qemu_command.c      | 23 ++++++++---------
 src/qemu/qemu_command.h      |  1 -
 src/qemu/qemu_domain.c       |  3 +--
 src/qemu/qemu_driver.c       |  3 +--
 src/qemu/qemu_hotplug.c      | 59 ++++++++++++++++++++++++++++----------------
 src/qemu/qemu_migration.c    | 11 +++------
 src/qemu/qemu_monitor_json.c | 10 +++-----
 src/qemu/qemu_monitor_text.c | 18 ++++++++------
 src/qemu/qemu_process.c      |  3 +--
 11 files changed, 107 insertions(+), 62 deletions(-)

-- 
2.5.5




More information about the libvir-list mailing list