From: Laurent Vivier Date: Thu, 4 Feb 2016 18:56:01 +0000 (+0100) Subject: linux-user: set ppc64/ppc64le default CPU to POWER8 X-Git-Tag: v2.6.0-rc0~77^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=de3f1b98410e0d5b406a0df3a48547b559d18602;p=thirdparty%2Fqemu.git linux-user: set ppc64/ppc64le default CPU to POWER8 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 Reviewed-by: Alexander Graf Reviewed-by: Michael Tokarev Signed-off-by: Riku Voipio --- diff --git a/linux-user/main.c b/linux-user/main.c index e719a2da021..2a692e0f0b1 100644 --- a/linux-user/main.c +++ b/linux-user/main.c @@ -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