qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] blockdev: add 'media=cdrom' argument to support usb cdrom em


From: Paolo Bonzini
Subject: Re: [PATCH] blockdev: add 'media=cdrom' argument to support usb cdrom emulated as cdrom
Date: Fri, 9 Dec 2022 09:57:51 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0

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

[Prev in Thread] Current Thread [Next in Thread]