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...

+1 -1
+1 -1
nixos/modules/virtualisation/qemu-vm.nix
··· 18 "i686-linux" = "${qemu}/bin/qemu-kvm"; 19 "x86_64-linux" = "${qemu}/bin/qemu-kvm -cpu kvm64"; 20 "armv7l-linux" = "${qemu}/bin/qemu-system-arm -enable-kvm -machine virt -cpu host"; 21 - "aarch64-linux" = "${qemu}/bin/qemu-system-aarch64 -enable-kvm -machine virt -cpu host"; 22 }.${pkgs.stdenv.system}; 23 24 # FIXME: figure out a common place for this instead of copy pasting
··· 18 "i686-linux" = "${qemu}/bin/qemu-kvm"; 19 "x86_64-linux" = "${qemu}/bin/qemu-kvm -cpu kvm64"; 20 "armv7l-linux" = "${qemu}/bin/qemu-system-arm -enable-kvm -machine virt -cpu host"; 21 + "aarch64-linux" = "${qemu}/bin/qemu-system-aarch64 -enable-kvm -machine virt,gic-version=host -cpu host"; 22 }.${pkgs.stdenv.system}; 23 24 # FIXME: figure out a common place for this instead of copy pasting