2
0

bordervm switch usb passthru from ehci to xhci

this was to fix a bug that turned out to be something else,
but the qemu docs say it's better anyway
This commit is contained in:
2026-03-22 15:23:50 +00:00
parent 82164d3968
commit e8a60d2860

View File

@@ -150,8 +150,10 @@ in
[ ]
++ optional cfg.ethernet.pci.enable "-device vfio-pci,host=${cfg.ethernet.pci.id}"
++ optionals cfg.ethernet.usb.enable [
"-device usb-ehci,id=ehci"
"-device usb-host,bus=ehci.0,vendorid=${cfg.ethernet.usb.vendor},productid=${cfg.ethernet.usb.product}"
"-device qemu-xhci"
# "-device usb-ehci,id=ehci"
# "-device usb-host,bus=ehci.0,vendorid=${cfg.ethernet.usb.vendor},productid=${cfg.ethernet.usb.product}"
"-device usb-host,vendorid=${cfg.ethernet.usb.vendor},productid=${cfg.ethernet.usb.product}"
]
++ [
"-nographic"