From 08927b8b3b3c3150aafa2bd02212442d3fada53d Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 15 Sep 2020 08:28:19 -0300 Subject: Adds USB 3.0 option in the kvmxfile --- IDEAS.md | 3 +++ kvmxfile | 5 +++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/IDEAS.md b/IDEAS.md index 7ec2ad1..9172bb0 100644 --- a/IDEAS.md +++ b/IDEAS.md @@ -57,6 +57,9 @@ * https://www.reddit.com/r/linuxadmin/comments/7a7bgl/when_adding_usb_redirection_in_a_vm_it_resets_the/ When adding USB redirection in a vm it resets the USB device and errors with speed mismatch. Any idea how to change speed? : linuxadmin + * https://bugs.launchpad.net/qemu/+bug/1810000 + qemu system emulator crashed when using xhci usb controller + # Workflow * Continuous Integration script (kvmx-ci): diff --git a/kvmxfile b/kvmxfile index e9d11a6..60353e5 100644 --- a/kvmxfile +++ b/kvmxfile @@ -214,8 +214,9 @@ bootloader="grub" # See also: https://qemu.readthedocs.io/en/latest/system/usb.html # https://wiki.gentoo.org/wiki/QEMU/Windows_guest #qemu_opts="-usb" # Basic USB support -#qemu_opts="-usb -device usb-ehci,id=ehci -device usb-host,bus=ehci.0,vendorid=1452" # USB support with a 2.0 Hub -#qemu_opts="-usb -device usb-host,hostbus=2,hostaddr=3" # USB support, attaching an specific device +#qemu_opts="-usb -device usb-ehci,id=ehci -device usb-host,bus=ehci.0,vendorid=1452" # USB support with 1.0 and 2.0 hub +#qemu_opts="-usb -device usb-ehci,id=ehci -device usb-host,bus=ehci.0,vendorid=1452 -device qemu-xhci,id=xhci" # USB support with 1.0, 2.0 and 3.0 hubs +#qemu_opts="-usb -device usb-ehci,id=ehci -device usb-host,hostbus=2,hostaddr=3" # USB support, attaching an specific device # Number of CPUs #smp="4" -- cgit v1.2.3