From 0f27a91d3dd34c76d7b95096634c5107883afb93 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Mon, 12 Nov 2018 14:10:39 +0100 Subject: [PATCH] use cortex-a57 as cpu for arm emulation for now... Signed-off-by: Wolfgang Bumiller --- PVE/QemuServer.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 53254a0e..23a232e1 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -3312,6 +3312,9 @@ sub get_cpu_options { my $ostype = $conf->{ostype}; my $cpu = $kvm ? "kvm64" : "qemu64"; + if ($arch eq 'aarch64') { + $cpu = 'cortex-a57'; + } if (my $cputype = $conf->{cpu}) { my $cpuconf = PVE::JSONSchema::parse_property_string($cpu_fmt, $cputype) or die "Cannot parse cpu description: $cputype\n";