mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 14:15:28 +00:00
e9843279cc
We support up to four levels of nested USB devices in the guest. Add a test for a domain using all four and a negative test for a domain using five.
28 lines
662 B
Plaintext
28 lines
662 B
Plaintext
LC_ALL=C \
|
|
PATH=/bin \
|
|
HOME=/home/test \
|
|
USER=test \
|
|
LOGNAME=test \
|
|
QEMU_AUDIO_DRV=none \
|
|
/usr/bin/qemu \
|
|
-name QEMUGuest1 \
|
|
-S \
|
|
-M pc \
|
|
-m 214 \
|
|
-smp 1 \
|
|
-uuid c7a5fdbd-edaf-9455-926a-d65c16db1809 \
|
|
-nographic \
|
|
-nodefconfig \
|
|
-nodefaults \
|
|
-chardev socket,id=charmonitor,path=/tmp/lib/domain--1-QEMUGuest1/monitor.sock,\
|
|
server,nowait \
|
|
-mon chardev=charmonitor,id=monitor,mode=readline \
|
|
-no-acpi \
|
|
-boot c \
|
|
-usb \
|
|
-device usb-hub,id=hub0,bus=usb.0,port=1 \
|
|
-device usb-hub,id=hub1,bus=usb.0,port=1.1 \
|
|
-device usb-hub,id=hub2,bus=usb.0,port=1.1.1 \
|
|
-device usb-hub,id=hub3,bus=usb.0,port=1.1.1.1 \
|
|
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
|