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"
|
, timeZone ? "UTC"
|
||||||
, services ? {}
|
, services ? {}
|
||||||
, impureShellCommands ? []
|
, impureShellCommands ? []
|
||||||
, driveLetter ? "E:"
|
, driveLetter ? "D:"
|
||||||
, ...
|
, ...
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
|
|
@ -9,9 +9,10 @@ rec {
|
||||||
"-cpu host"
|
"-cpu host"
|
||||||
"-smp ${cores}"
|
"-smp ${cores}"
|
||||||
"-m ${qemuMem}"
|
"-m ${qemuMem}"
|
||||||
|
"-M q35"
|
||||||
"-bios ${pkgs.OVMF.fd}/FV/OVMF.fd"
|
"-bios ${pkgs.OVMF.fd}/FV/OVMF.fd"
|
||||||
"-rtc base=${baseRtc}"
|
"-rtc base=${baseRtc}"
|
||||||
"-device piix3-usb-uhci"
|
"-device qemu-xhci"
|
||||||
"-device e1000,netdev=n1"
|
"-device e1000,netdev=n1"
|
||||||
] ++ extraFlags;
|
] ++ extraFlags;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue