From 6a4f822a817180be03fcdceb654088d002c9ec5e Mon Sep 17 00:00:00 2001 From: phaer Date: Thu, 18 Apr 2024 14:29:04 +0200 Subject: [PATCH] Use xhci instead of ehci for USB For an explaination see: https://www.qemu.org/docs/master/system/devices/usb.html#xhci-controller-support --- lib/runners/qemu.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/runners/qemu.nix b/lib/runners/qemu.nix index 32350ac..a2786f5 100644 --- a/lib/runners/qemu.nix +++ b/lib/runners/qemu.nix @@ -270,8 +270,7 @@ in { ) ++ lib.optionals requireUsb [ - "-usb" - "-device" "usb-ehci" + "-device" "qemu-xhci" ] ++ builtins.concatMap ({ bus, path, ... }: {