mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +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
166 B
XML
7 lines
166 B
XML
<disk type='file' device='cdrom'>
|
|
<driver name='qemu' type='raw' cache='none'/>
|
|
<source file='/dev/null'/>
|
|
<target dev='sde' bus='scsi'/>
|
|
<readonly/>
|
|
</disk>
|