]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Add test cases for 'host_cdrom' blockdev backend via <disk>
authorPeter Krempa <pkrempa@redhat.com>
Thu, 15 Oct 2020 11:47:46 +0000 (13:47 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 2 Nov 2020 13:14:51 +0000 (14:14 +0100)
commit8bcda6e2604ad5557de7a6caf08fcd40a0c5afde
tree4249820b46f33046e7ef22d16d1e82762f6634a8
parentb9759291c535607df1191fe844d76582e6da2f0c
qemu: Add test cases for 'host_cdrom' blockdev backend via <disk>

Simulate that the device is a cdrom when the path equals to /dev/cdrom
to provide testing for the 'host_cdrom' backend.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tests/qemuxml2argvdata/disk-cdrom.args
tests/qemuxml2argvdata/disk-cdrom.x86_64-2.12.0.args
tests/qemuxml2argvdata/disk-cdrom.x86_64-latest.args
tests/qemuxml2argvdata/disk-cdrom.xml
tests/qemuxml2argvtest.c
tests/qemuxml2xmloutdata/disk-cdrom.xml