git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #123823 from misuzu/test-driver-usb-boot-speedup

nixos/test-driver: use usb-ehci controller instead of piix3-usb-uhci

commit5d05391846dec819e72c0b5d68922746bd0bedb7 authorJacek Galowicz <jacek@galowicz.de> dateFri 21 May 2021, 20:47 (5 years ago) parentda4a86ab2319b0
1 file changed+2−1
nixos/lib/test-driver/test-driver.py+2−1
nixos/lib/test-driver/test-driver.py+2−1
@@ -316,8 +316,9 @@ class Machine:
316316 start_command += "-cdrom " + args["cdrom"] + " "
317317
318318 if "usb" in args:
319+ # https://github.com/qemu/qemu/blob/master/docs/usb2.txt
319320 start_command += (
320− "-device piix3-usb-uhci -drive "
321+ "-device usb-ehci -drive "
321322 + "id=usbdisk,file="
322323 + args["usb"]
323324 + ",if=none,readonly "