[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] Fix default CPU model for ARM64

From: Pavel Fedin
Subject: [Qemu-devel] [PATCH] Fix default CPU model for ARM64
Date: Wed, 06 May 2015 18:03:42 +0300

 This small patch fixes a long-standing bug: A15 model is used by default
also on ARM64 target. As a result, attempt to run the VM without explicit
-cpu specification does not do anything good.

Signed-off-by: Pavel Fedin <address@hidden>
 hw/arm/virt.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/hw/arm/virt.c b/hw/arm/virt.c
index 6a45d94..b064bac 100644
--- a/hw/arm/virt.c
+++ b/hw/arm/virt.c
@@ -785,7 +785,11 @@ static void machvirt_init(MachineState *machine)
     char **cpustr;
     if (!cpu_model) {
+#ifdef TARGET_AARCH64
+        cpu_model = "cortex-a57";
         cpu_model = "cortex-a15";
     /* Separate the actual CPU model name from any appended features */

reply via email to

[Prev in Thread] Current Thread [Next in Thread]