-
- Downloads
qemu: validate: Reject empty USB disks
Attempting to start qemu with or hotplug an empty 'usb-storage' based disk results in the following error: qemu-system-x86_64: -device {"driver":"usb-storage","bus":"usb.0","port":"2","id":"usb-disk1","removable":true}: drive property not set Reject such config at validation step and adjust tests. Signed-off-by:Peter Krempa <pkrempa@redhat.com> Reviewed-by:
Martin Kletzander <mkletzan@redhat.com>
Showing
- src/qemu/qemu_validate.c 6 additions, 0 deletionssrc/qemu/qemu_validate.c
- tests/qemuxmlconfdata/disk-cdrom-bus-other.x86_64-latest.args 2 additions, 3 deletions...s/qemuxmlconfdata/disk-cdrom-bus-other.x86_64-latest.args
- tests/qemuxmlconfdata/disk-cdrom-bus-other.x86_64-latest.xml 0 additions, 5 deletionstests/qemuxmlconfdata/disk-cdrom-bus-other.x86_64-latest.xml
- tests/qemuxmlconfdata/disk-cdrom-bus-other.xml 0 additions, 5 deletionstests/qemuxmlconfdata/disk-cdrom-bus-other.xml
- tests/qemuxmlconfdata/disk-cdrom-usb-empty.x86_64-latest.err 1 addition, 0 deletionstests/qemuxmlconfdata/disk-cdrom-usb-empty.x86_64-latest.err
- tests/qemuxmlconfdata/disk-cdrom-usb-empty.xml 29 additions, 0 deletionstests/qemuxmlconfdata/disk-cdrom-usb-empty.xml
- tests/qemuxmlconftest.c 1 addition, 0 deletionstests/qemuxmlconftest.c
Loading
Please register or sign in to comment