[pve-devel] [PATCH qemu-server 08/13] use cortex-a57 as cpu for arm emulation for now...

Wolfgang Bumiller w.bumiller at proxmox.com
Wed Oct 24 10:56:44 CEST 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 53d3c1b..5980720 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -3215,6 +3215,9 @@ sub get_cpu_options {
     my $ostype = $conf->{ostype};
 
     my $cpu = $kvm ? "kvm64" : "qemu64";
+    if ($arch eq 'arm64') {
+	$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