From e8a60d286006abb8a4d559e13df5e8659ffefab3 Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Sun, 22 Mar 2026 15:23:50 +0000 Subject: [PATCH] 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 --- bordervm-configuration.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bordervm-configuration.nix b/bordervm-configuration.nix index 5f333ac..7df5baa 100644 --- 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"