forked from M-Labs/wfvm
Use q35 and xHCI for more performance
This commit is contained in:
parent
fbd5b97d79
commit
90cc7b14a4
@ -13,7 +13,7 @@
|
||||
, timeZone ? "UTC"
|
||||
, services ? {}
|
||||
, impureShellCommands ? []
|
||||
, driveLetter ? "E:"
|
||||
, driveLetter ? "D:"
|
||||
, ...
|
||||
}:
|
||||
|
||||
|
@ -9,9 +9,10 @@ rec {
|
||||
"-cpu host"
|
||||
"-smp ${cores}"
|
||||
"-m ${qemuMem}"
|
||||
"-M q35"
|
||||
"-bios ${pkgs.OVMF.fd}/FV/OVMF.fd"
|
||||
"-rtc base=${baseRtc}"
|
||||
"-device piix3-usb-uhci"
|
||||
"-device qemu-xhci"
|
||||
"-device e1000,netdev=n1"
|
||||
] ++ extraFlags;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user