]> git.proxmox.com Git - qemu-server.git/commitdiff
use cortex-a57 as cpu for arm emulation for now...
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 12 Nov 2018 13:10:39 +0000 (14:10 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 13 Nov 2018 13:44:28 +0000 (14:44 +0100)
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
PVE/QemuServer.pm

index 53254a0e82eaae06638035aae6d3b0a995da908c..23a232e138505be4a4a5076880d93d8be4fbe7cf 100644 (file)
@@ -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";