]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Support removable for scsi disk
authorHan Han <hhan@redhat.com>
Mon, 5 Jun 2023 05:07:29 +0000 (13:07 +0800)
committerMichal Privoznik <mprivozn@redhat.com>
Sun, 9 Jul 2023 05:39:57 +0000 (07:39 +0200)
commit1ed695bcff907dcba63313cdf3d8aff2da46ec0a
treeb8c95a29fa5ca68439523b2f0216742aea4f04bc
parent5f7f6ceb47b8bec3f8ad93599f95b755e00e439a
qemu: Support removable for scsi disk

Allow //disk/target@removable for scsi disk devices, since QEMU has support
the removable attribute for scsi-hd device from v0.14.0[1].

[1]: 419e691f8e: scsi-disk: Allow overriding SCSI INQUIRY removable bit

Signed-off-by: Han Han <hhan@redhat.com>
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
docs/formatdomain.rst
src/conf/domain_validate.c
src/qemu/qemu_command.c
tests/qemuxml2argvdata/disk-device-removable.x86_64-latest.args [new file with mode: 0644]
tests/qemuxml2argvdata/disk-device-removable.xml [new file with mode: 0644]
tests/qemuxml2argvdata/disk-usb-device-removable.x86_64-latest.args [deleted file]
tests/qemuxml2argvdata/disk-usb-device-removable.xml [deleted file]
tests/qemuxml2argvtest.c