[libvirt] [PATCH 0/3 RESEND] qemu: Hotplug SCSI controllers/hostdevs

Eric Farman farman at linux.vnet.ibm.com
Tue Oct 8 12:45:24 UTC 2013


(Resending, as this has perhaps been lost during the release of 1.1.3.
I've rebased this patch series onto today's git repository.)

Today, hotplug of a SCSI hostdev relies on the presence of an existing
SCSI controller, which can be defined in the initial domain XML.  Hotplug
of a SCSI controller relies on the presence of a PCI bus, which does not
work in all environments.

These patches correct this behavior, in order to allow hotplug (and unplug)
work without incident.

Reviewed-by: Viktor Mihajlovski <mihajlov at linux.vnet.ibm.com>

Eric Farman (3):
  qemu: Rename controller hotplug functions to not be PCI-specific
  qemu: Separate calls based on controller bus type
  qemu: Auto-generate controller for hotplugged hostdev

 src/qemu/qemu_driver.c  |    4 +--
 src/qemu/qemu_hotplug.c |   62 ++++++++++++++++++++++++++++++++---------------
 src/qemu/qemu_hotplug.h |   12 ++++-----
 3 files changed, 50 insertions(+), 28 deletions(-)

-- 
1.7.9.5




More information about the libvir-list mailing list