commit e8a60d286006abb8a4d559e13df5e8659ffefab3
parent 82164d3968ab568404a956e3c51d6bea137cf135
Author: Daniel Barlow <dan@telent.net>
Date: Sun, 22 Mar 2026 15:23:50 +0000
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
Diffstat:
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/bordervm-configuration.nix b/bordervm-configuration.nix
@@ -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"