mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-26 15:45:28 +00:00
a6e37aedff
To avoid the collision for creating USB controllers in machine->init() and -device xx command line, it needs to set usb=off to avoid one USB controller created in machine->init(). So that libvirt can use -device or -usb to create USB controller sucessfully. So QEMU_CAPS_MACHINE_USB_OPT capability is added, and it is for QEMU v1.3.0 onwards which supports USB option. Signed-off-by: Li Zhang <zhlcindy@linux.vnet.ibm.com>
6 lines
262 B
Plaintext
6 lines
262 B
Plaintext
LC_ALL=C PATH=/bin HOME=/home/test USER=test LOGNAME=test /usr/bin/qemu \
|
|
-S -machine pc,usb=off -m 214 -smp 1 -nographic \
|
|
-monitor unix:/tmp/test-monitor,server,nowait -no-acpi -boot c -usb \
|
|
-hda /dev/HostVG/QEMUGuest1 -net none -serial \
|
|
none -parallel none
|