aboutsummaryrefslogtreecommitdiff
path: root/kvmxfile
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2020-09-17 18:46:23 -0300
committerSilvio Rhatto <rhatto@riseup.net>2020-09-17 18:46:23 -0300
commit96ac6d6ec865b79a5fa77048d634a2a904b43721 (patch)
tree9cda0a2a1e341d900b3ceeebe4dff309332a17e9 /kvmxfile
parent08927b8b3b3c3150aafa2bd02212442d3fada53d (diff)
downloadkvmx-96ac6d6ec865b79a5fa77048d634a2a904b43721.tar.gz
kvmx-96ac6d6ec865b79a5fa77048d634a2a904b43721.tar.bz2
Feat: adds usb_attach command
Diffstat (limited to 'kvmxfile')
-rw-r--r--kvmxfile17
1 files changed, 13 insertions, 4 deletions
diff --git a/kvmxfile b/kvmxfile
index 60353e5..cf945d7 100644
--- a/kvmxfile
+++ b/kvmxfile
@@ -209,14 +209,23 @@ bootloader="grub"
# See http://www.reactos.org/wiki/QEMU#Setting_up_network
#nic_model="ne2k_pci"
+# USB support
+#
+# Allowed values:
+#
+# 0 - No USB support
+# 1 - Support for USB 1.0
+# 2 - Support for USB 1.0 and 2.0
+# 3 - Support for USB 1.0, 2.0 and 3.0
+#
+#usb="0"
+
# Additional qemu opts
# Example: http://www.linux-kvm.org/page/USB_Host_Device_Assigned_to_Guest
# 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 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
+#qemu_opts="-device usb-host,hostbus=2,hostaddr=3" # Automatically attach an specific USB device
+#qemu_opts=""
# Number of CPUs
#smp="4"