Skip to content

Commit 1ad0c53

Browse files
authored
Merge pull request #948 from aluedeke/usb_support_x86
add usb hub to each vm
2 parents 0e681ea + de61419 commit 1ad0c53

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)