Skip to content

Commit

Permalink
power/qemu: emulate USB 3.0 with -device qemu-xhci
Browse files Browse the repository at this point in the history
The special qemu-xhci device emulates USB 3.0 and comes with a much more
virtualization-friendly design: this results in a significant performance
improvement (noticeable when installing Operating Systems from USB)

Signed-off-by: Cedric Hombourger <cedric.hombourger@siemens.com>
  • Loading branch information
chombourger committed Nov 2, 2023
1 parent 4511456 commit 8b488f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mtda/power/qemu.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def start(self):
options += " -device e1000,netdev=net0"
options += " -netdev user,id=net0,"
options += "hostfwd=tcp::2222-:22,hostname={0}".format(self.hostname)
options += " -usb"
options += " -device qemu-xhci"
options += " -vnc :0,websocket=on"

# extra options
Expand Down

0 comments on commit 8b488f1

Please sign in to comment.