On 12/9/22 03:28, Zhipeng Lu wrote:
Thanks.

  -device usb-bot,id=bot0
  -device scsi-{cd,hd},bus=bot0.0,drive=drive0

Qemu implements virtio scsi to emulate scsi controller, but if the virtual machine(for example windows guest os) don't install the virtio scsi driver, it don't work i need the function: emulate cdrom in guest, support hotplug and unplug, not  depend on virtio driver

usb-bot *is* a SCSI controller and it does not require drivers in the guest. It is not very high-performance, but as you say it has hotplug functionality via USB.

Paolo


Reply via email to