mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-31 02:13:27 +00:00
3078799fef
QEMU supports hotplug of a cdrom device with USB or SCSI bus. Just unblock these devices in qemuDomainAttachDeviceDiskLiveInternal() and qemuDomainDetachPrepDisk(). Fixes: https://gitlab.com/libvirt/libvirt/-/issues/261 Signed-off-by: minglei.liu <minglei.liu@smartx.com> Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
7 lines
165 B
XML
7 lines
165 B
XML
<disk type='file' device='cdrom'>
|
|
<driver name='qemu' type='raw' cache='none'/>
|
|
<source file='/dev/null'/>
|
|
<target dev='sde' bus='usb'/>
|
|
<readonly/>
|
|
</disk>
|