diff options
author | Laurent Vivier <lvivier@redhat.com> | 2016-02-04 19:56:01 +0100 |
---|---|---|
committer | Timothy Pearson <tpearson@raptorengineering.com> | 2019-11-29 19:45:58 -0600 |
commit | 6dfa1cf3935b83a4637ec25807ded15b5af2b2e2 (patch) | |
tree | d4db032b897bdf79b591b7afecab144eae98b3a0 /linux-user | |
parent | 02e8bb6cacce63b1a53ac2695bb596bbdf693fa9 (diff) | |
download | hqemu-6dfa1cf3935b83a4637ec25807ded15b5af2b2e2.zip hqemu-6dfa1cf3935b83a4637ec25807ded15b5af2b2e2.tar.gz |
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 <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>
Diffstat (limited to 'linux-user')
-rw-r--r-- | linux-user/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/main.c b/linux-user/main.c index 1ae2907..1cc3382 100644 --- a/linux-user/main.c +++ b/linux-user/main.c @@ -4218,7 +4218,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 |