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:
@@ -316,8 +316,9 @@ class Machine:
|
|||||||
start_command += "-cdrom " + args["cdrom"] + " "
|
start_command += "-cdrom " + args["cdrom"] + " "
|
||||||
|
|
||||||
if "usb" in args:
|
if "usb" in args:
|
||||||
|
# https://github.com/qemu/qemu/blob/master/docs/usb2.txt
|
||||||
start_command += (
|
start_command += (
|
||||||
"-device piix3-usb-uhci -drive "
|
"-device usb-ehci -drive "
|
||||||
+ "id=usbdisk,file="
|
+ "id=usbdisk,file="
|
||||||
+ args["usb"]
|
+ args["usb"]
|
||||||
+ ",if=none,readonly "
|
+ ",if=none,readonly "
|
||||||
|
|||||||
Reference in New Issue
Block a user