[pve-devel] [PATCH v2 qemu-server 07/12] use cortex-a57 as cpu for arm emulation for now...

Wolfgang Bumiller w.bumiller at proxmox.com
Mon Nov 12 14:10:39 CET 2018


Signed-off-by: Wolfgang Bumiller <w.bumiller at proxmox.com>
---
 PVE/QemuServer.pm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index 53254a0..23a232e 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";
-- 
2.11.0





More information about the pve-devel mailing list