Skip to content

Commit 6a4f822

Browse files
phaerastro
authored andcommitted
Use xhci instead of ehci for USB
For an explaination see: https://www.qemu.org/docs/master/system/devices/usb.html#xhci-controller-support
1 parent a1341f7 commit 6a4f822

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/runners/qemu.nix

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,8 +270,7 @@ in {
270270
)
271271
++
272272
lib.optionals requireUsb [
273-
"-usb"
274-
"-device" "usb-ehci"
273+
"-device" "qemu-xhci"
275274
]
276275
++
277276
builtins.concatMap ({ bus, path, ... }: {

0 commit comments

Comments
 (0)