nixpkgs/nixos/lib
Matthew Bauer 47b56e7c19 runInLinuxVM, test-driver: use -cpu max instead of -cpu host
This appears to avoid requiring KVM when it’s not available. This is
what I originally though -cpu host did. Unfortunately not much
documentation available from the QEMU side on this, but this appears
to square with help:

$ qemu-system-x86 -cpu help
...
x86 host                  KVM processor with all supported host features
x86 max                   Enables all features supported by the accelerator in the current host
...

Whether we actually want to support this not clear, since this only
happens when your CPU doesn’t have full KVM support. Some Nix builders
are lying about kvm support though. Things aren’t too slow without it
though.

Fixes https://github.com/NixOS/nixpkgs/issues/85394

Alternative to https://github.com/NixOS/nixpkgs/pull/83920
2020-08-21 23:42:07 -05:00
..
make-options-doc nixos/manual: improve error message for invalid values in `relatedPackages' 2020-08-03 16:37:59 +02:00
test-driver nixos/lib/*: editorconfig fixes 2020-08-04 00:23:54 +10:00
build-vms.nix
eval-config.nix
from-env.nix
make-channel.nix
make-disk-image.nix nixos/lib/make-disk-image.nix: abritary format input 2020-07-31 15:33:08 +02:00
make-ext4-fs.nix nixos/lib/make-ext4-fs: fix after mkfs.ext4 refactoring 2020-07-26 22:49:55 +02:00
make-iso9660-image.nix make-iso9660-image: produce stable GPT disk GUID 2020-07-20 11:16:59 +02:00
make-iso9660-image.sh make-iso9660-image: produce stable GPT disk GUID 2020-07-20 11:16:59 +02:00
make-squashfs.nix
make-system-tarball.nix
make-system-tarball.sh
qemu-flags.nix runInLinuxVM, test-driver: use -cpu max instead of -cpu host 2020-08-21 23:42:07 -05:00
testing-python.nix testing-python: fix typo 2020-06-30 22:31:32 -05:00
testing.nix Remove unused files 2020-05-14 14:34:50 +02:00
utils.nix nixos/boot: some documentation improvements 2020-07-29 14:39:21 -07:00