3
0
Fork 0
forked from mirrors/nixpkgs

Revert "qemu, runInLinuxVM: change default cpu to qemu64"

This reverts commit af180d554b.

The bug we were working around with this change has been fixed in QEMU
6.2.0.
This commit is contained in:
Alyssa Ross 2021-12-01 18:42:52 +00:00
parent 6c92b6516a
commit 464d6108b0

View file

@ -22,7 +22,7 @@ rec {
else throw "Unknown QEMU serial device for system '${pkgs.stdenv.hostPlatform.system}'";
qemuBinary = qemuPkg: {
x86_64-linux = "${qemuPkg}/bin/qemu-kvm -cpu qemu64";
x86_64-linux = "${qemuPkg}/bin/qemu-kvm -cpu max";
armv7l-linux = "${qemuPkg}/bin/qemu-system-arm -enable-kvm -machine virt -cpu host";
aarch64-linux = "${qemuPkg}/bin/qemu-system-aarch64 -enable-kvm -machine virt,gic-version=host -cpu host";
powerpc64le-linux = "${qemuPkg}/bin/qemu-system-ppc64 -machine powernv";