Use q35 and xHCI for more performance

This commit is contained in:
Markus Partheymüller 2021-02-12 10:50:21 +01:00
parent fbd5b97d79
commit 90cc7b14a4
2 changed files with 3 additions and 2 deletions

View File

@ -13,7 +13,7 @@
, timeZone ? "UTC"
, services ? {}
, impureShellCommands ? []
, driveLetter ? "E:"
, driveLetter ? "D:"
, ...
}:

View File

@ -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;