Skip to content

Commit de61419

Browse files
author
Andreas Lüdeke
committed
add usb hub to each vm
Signed-off-by: Andreas Lüdeke <[email protected]>
1 parent 0e681ea commit de61419

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/qemu/qemu.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -517,6 +517,7 @@ func Cmdline(cfg Config) (string, []string, error) {
517517
args = append(args, "-device", "virtio-vga")
518518
args = append(args, "-device", "virtio-keyboard-pci")
519519
args = append(args, "-device", "virtio-mouse-pci")
520+
args = append(args, "-device", "qemu-xhci,id=usb-bus")
520521
default:
521522
// QEMU does not seem to support virtio-vga for aarch64
522523
args = append(args, "-vga", "none", "-device", "ramfb")

0 commit comments

Comments
 (0)