summaryrefslogtreecommitdiffstats
path: root/nixos/tests/installer.nix
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2020-08-26 12:59:57 -0500
committerGitHub <noreply@github.com>2020-08-26 12:59:57 -0500
commitca3fa9c32a45f028f480ab8ec26cc4bd8ce800ad (patch)
treee41509e6c854897d709e8b6233f2209717f5fb75 /nixos/tests/installer.nix
parent1a94103f12166004259317c0bcd3de29ca3e532d (diff)
parent47b56e7c19c2e3af685ee408f02f232efb3d12b1 (diff)
Merge pull request #95956 from matthewbauer/qemu-cpu-max
runInLinuxVM, test-driver: use -cpu max instead of -cpu host
Diffstat (limited to 'nixos/tests/installer.nix')
-rw-r--r--nixos/tests/installer.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/installer.nix b/nixos/tests/installer.nix
index a1ee7646430c..f64e4101d45b 100644
--- a/nixos/tests/installer.nix
+++ b/nixos/tests/installer.nix
@@ -74,7 +74,7 @@ let
throw "Non-EFI boot methods are only supported on i686 / x86_64"
else ''
def assemble_qemu_flags():
- flags = "-cpu host"
+ flags = "-cpu max"
${if system == "x86_64-linux"
then ''flags += " -m 768"''
else ''flags += " -m 512 -enable-kvm -machine virt,gic-version=host"''