nixos/qemu-vm: Pass gic-version=host for AArch64
This is required on the ThunderX CPUs on the Packet.net Type-2A machines that have a GICv3. For some reason the default is to create a GICv2 independent of the host hardware...
This commit is contained in:
parent
019131c826
commit
b2e315f97f
|
@ -18,7 +18,7 @@ let
|
||||||
"i686-linux" = "${qemu}/bin/qemu-kvm";
|
"i686-linux" = "${qemu}/bin/qemu-kvm";
|
||||||
"x86_64-linux" = "${qemu}/bin/qemu-kvm -cpu kvm64";
|
"x86_64-linux" = "${qemu}/bin/qemu-kvm -cpu kvm64";
|
||||||
"armv7l-linux" = "${qemu}/bin/qemu-system-arm -enable-kvm -machine virt -cpu host";
|
"armv7l-linux" = "${qemu}/bin/qemu-system-arm -enable-kvm -machine virt -cpu host";
|
||||||
"aarch64-linux" = "${qemu}/bin/qemu-system-aarch64 -enable-kvm -machine virt -cpu host";
|
"aarch64-linux" = "${qemu}/bin/qemu-system-aarch64 -enable-kvm -machine virt,gic-version=host -cpu host";
|
||||||
}.${pkgs.stdenv.system};
|
}.${pkgs.stdenv.system};
|
||||||
|
|
||||||
# FIXME: figure out a common place for this instead of copy pasting
|
# FIXME: figure out a common place for this instead of copy pasting
|
||||||
|
|
Loading…
Reference in New Issue