• W
    Use device_del to remove SCSI controllers · 8540dadb
    Wolfgang Mauerer 提交于
    when the underlying qemu supports the drive/device model and the
    controller has been added this way.
    * src/qemu/qemu_driver.c: use qemuMonitorDelDevice() when detaching
      PCI controller and if supported
    * src/qemu/qemu_monitor.[ch]: add new qemuMonitorDelDevice() function
    * src/qemu/qemu_monitor_json.[ch]: JSON backend for DelDevice command
    * src/qemu/qemu_monitor_text.[ch]: Text backend for DelDevice command
    8540dadb
qemu_monitor_json.c 53.3 KB