]> git.proxmox.com Git - mirror_qemu.git/commitdiff
linux-user: set ppc64/ppc64le default CPU to POWER8
authorLaurent Vivier <lvivier@redhat.com>
Thu, 4 Feb 2016 18:56:01 +0000 (19:56 +0100)
committerRiku Voipio <riku.voipio@linaro.org>
Tue, 23 Feb 2016 19:25:09 +0000 (21:25 +0200)
Set the default to the latest CPU version to have the
largest set of available features.

It is also really needed in little-endian mode because
POWER7 is not really supported in this mode and some distros
(at least debian) generate POWER8 code for their ppc64le target.

Fixes: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=813698
Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: Alexander Graf <agraf@suse.de>
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
linux-user/main.c

index e719a2da02111bf0824f141988632cb8f8261405..2a692e0f0b13b3aad094fb71e3f67e873123027b 100644 (file)
@@ -4160,7 +4160,7 @@ int main(int argc, char **argv, char **envp)
         cpu_model = "or1200";
 #elif defined(TARGET_PPC)
 # ifdef TARGET_PPC64
-        cpu_model = "POWER7";
+        cpu_model = "POWER8";
 # else
         cpu_model = "750";
 # endif