Skip to content

Commit 3936e66

Browse files
author
Jason W. Ehrlich
committed
USB Support for aarch64
Signed-off-by: Jason W. Ehrlich <[email protected]>
1 parent f290fa5 commit 3936e66

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/qemu/qemu.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -324,9 +324,9 @@ func Cmdline(cfg Config) (string, []string, error) {
324324
default:
325325
// QEMU does not seem to support virtio-vga for aarch64
326326
args = append(args, "-vga", "none", "-device", "ramfb")
327-
args = append(args, "-device", "usb-ehci")
328-
args = append(args, "-device", "usb-kbd")
329-
args = append(args, "-device", "usb-mouse")
327+
args = append(args, "-device", "qemu-xhci,id=usb-bus")
328+
args = append(args, "-device", "usb-kbd,bus=usb-bus.0")
329+
args = append(args, "-device", "usb-mouse,bus=usb-bus.0")
330330
}
331331

332332
// Parallel

0 commit comments

Comments
 (0)