• W
    Implement SCSI controller hotplug/unplug for QEMU · da9d937b
    Wolfgang Mauerer 提交于
    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
    da9d937b
qemu_monitor_text.h 6.2 KB