mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 06:43:53 -06:00
target-ppc: Change default cpu for ppc64le-linux-user
The default, 970fx, doesn't support MSR_LE. So even though we set LE in ppc_cpu_reset, it gets cleared again in hreg_store_msr. Error out if a user-selected cpu model doesn't support LE. Signed-off-by: Richard Henderson <rth@twiddle.net> [agraf: switch to POWER7 as default for BE and LE] Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
4bce526ec4
commit
a74029f6cb
2 changed files with 8 additions and 4 deletions
|
@ -3901,11 +3901,11 @@ int main(int argc, char **argv, char **envp)
|
|||
#elif defined TARGET_OPENRISC
|
||||
cpu_model = "or1200";
|
||||
#elif defined(TARGET_PPC)
|
||||
#ifdef TARGET_PPC64
|
||||
cpu_model = "970fx";
|
||||
#else
|
||||
# ifdef TARGET_PPC64
|
||||
cpu_model = "POWER7";
|
||||
# else
|
||||
cpu_model = "750";
|
||||
#endif
|
||||
# endif
|
||||
#else
|
||||
cpu_model = "any";
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue