mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-05 12:51:12 +00:00
136abdc992
Improve testing of an explicitly requested USB controller without a model being provided. For this purpose the 'usb-controller' case is renamed to 'usb-controller-default-i440fx'; 'usb-controller-default-q35' is moved up to form a group. In both cases tests are covnerted to use DO_TEST_CAPS_LATEST. A new 'usb-controller-default-isapc' negative test case is added for symmetry. The negative test case 'usb-controller-default-unavailable-q35' is converted to use latest caps, but stripping the default controller instead of using fake caps. Additionally for symmetry 'usb-controller-default-unavailable-i440fx' is added although that doesn't cause failure, but rather a graceful downgrade to use '-usb'. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
35 lines
1.3 KiB
Plaintext
35 lines
1.3 KiB
Plaintext
LC_ALL=C \
|
|
PATH=/bin \
|
|
HOME=/var/lib/libvirt/qemu/domain--1-q35-test \
|
|
USER=test \
|
|
LOGNAME=test \
|
|
XDG_DATA_HOME=/var/lib/libvirt/qemu/domain--1-q35-test/.local/share \
|
|
XDG_CACHE_HOME=/var/lib/libvirt/qemu/domain--1-q35-test/.cache \
|
|
XDG_CONFIG_HOME=/var/lib/libvirt/qemu/domain--1-q35-test/.config \
|
|
/usr/bin/qemu-system-x86_64 \
|
|
-name guest=q35-test,debug-threads=on \
|
|
-S \
|
|
-object '{"qom-type":"secret","id":"masterKey0","format":"raw","file":"/var/lib/libvirt/qemu/domain--1-q35-test/master-key.aes"}' \
|
|
-machine q35,usb=off,dump-guest-core=off,memory-backend=pc.ram,acpi=off \
|
|
-accel tcg \
|
|
-cpu qemu64 \
|
|
-m size=2097152k \
|
|
-object '{"qom-type":"memory-backend-ram","id":"pc.ram","size":2147483648}' \
|
|
-overcommit mem-lock=off \
|
|
-smp 1,sockets=1,cores=1,threads=1 \
|
|
-uuid 11dbdcdd-4c3b-482b-8903-9bdb8c0a2774 \
|
|
-display none \
|
|
-no-user-config \
|
|
-nodefaults \
|
|
-chardev socket,id=charmonitor,fd=1729,server=on,wait=off \
|
|
-mon chardev=charmonitor,id=monitor,mode=control \
|
|
-rtc base=utc \
|
|
-no-shutdown \
|
|
-boot strict=on \
|
|
-device '{"driver":"piix3-usb-uhci","id":"usb","bus":"pcie.0","addr":"0x1"}' \
|
|
-audiodev '{"id":"audio1","driver":"none"}' \
|
|
-global ICH9-LPC.noreboot=off \
|
|
-watchdog-action reset \
|
|
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
|
|
-msg timestamp=on
|