Merge pull request #123823 from misuzu/test-driver-usb-boot-speedup

nixos/test-driver: use usb-ehci controller instead of piix3-usb-uhci
This commit is contained in:
Jacek Galowicz
2021-05-21 20:47:47 +02:00
committed by GitHub

View File

@@ -316,8 +316,9 @@ class Machine:
start_command += "-cdrom " + args["cdrom"] + " "
if "usb" in args:
# https://github.com/qemu/qemu/blob/master/docs/usb2.txt
start_command += (
"-device piix3-usb-uhci -drive "
"-device usb-ehci -drive "
+ "id=usbdisk,file="
+ args["usb"]
+ ",if=none,readonly "