]> xenbits.xensource.com Git - libvirt.git/commit
Implement SCSI controller hotplug/unplug for QEMU
authorWolfgang Mauerer <wolfgang.mauerer@siemens.com>
Mon, 7 Dec 2009 19:28:05 +0000 (19:28 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Mon, 18 Jan 2010 12:44:50 +0000 (12:44 +0000)
commitda9d937b949c2b91b10f58131d9ef2b97cfa07d2
tree650761c6ab4e61e8769eb7d8e8c9f9434081470f
parent1867004ed1b8d55da7a93279ce071d59ae9e52cd
Implement SCSI controller hotplug/unplug for QEMU

This patch allows for explicit hotplug/unplug of SCSI controllers.
Ordinarily this is not required, since QEMU/libvirt will attach
a new SCSI controller whenever one is required. Allowing explicit
hotplug of controllers though, enables the caller to specify a
static PCI address, instead of auto-assigning the next available
PCI slot. Or it will when we have static PCI addressing.

This patch is derived from Wolfgang Mauerer's disk controller
patch series.

* src/qemu/qemu_driver.c: Support hotplug & unplug of SCSI
  controllers
* src/qemu/qemu_monitor.c, src/qemu/qemu_monitor.h,
  src/qemu/qemu_monitor_json.c, src/qemu/qemu_monitor_json.h,
  src/qemu/qemu_monitor_text.c, src/qemu/qemu_monitor_text.h: Add
  new API for attaching PCI SCSI controllers
src/libvirt_private.syms
src/qemu/qemu_driver.c
src/qemu/qemu_monitor.c
src/qemu/qemu_monitor.h
src/qemu/qemu_monitor_json.c
src/qemu/qemu_monitor_json.h
src/qemu/qemu_monitor_text.c
src/qemu/qemu_monitor_text.h