From 90cc7b14a4cf810317e6422c01037301f9b799ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Partheym=C3=BCller?= Date: Fri, 12 Feb 2021 10:50:21 +0100 Subject: [PATCH] Use q35 and xHCI for more performance --- wfvm/autounattend.nix | 2 +- wfvm/utils.nix | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/wfvm/autounattend.nix b/wfvm/autounattend.nix index 66744b7..13505eb 100644 --- a/wfvm/autounattend.nix +++ b/wfvm/autounattend.nix @@ -13,7 +13,7 @@ , timeZone ? "UTC" , services ? {} , impureShellCommands ? [] -, driveLetter ? "E:" +, driveLetter ? "D:" , ... }: diff --git a/wfvm/utils.nix b/wfvm/utils.nix index 4084eca..3b42a0a 100644 --- a/wfvm/utils.nix +++ b/wfvm/utils.nix @@ -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;