mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-05 12:51:12 +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>
|