diff options
| author | Laurent Dufour | 2014-06-27 15:47:37 +0200 |
|---|---|---|
| committer | Alexander Graf | 2014-07-08 12:10:36 +0200 |
| commit | 4bce526ec4b88362a684fd858e0e14c83ddf0db4 (patch) | |
| tree | 6b78fa03af2c375b955f795cf043463cdc858e32 /linux-user | |
| parent | Merge remote-tracking branch 'remotes/afaerber/tags/prep-for-2.1' into staging (diff) | |
| download | qemu-4bce526ec4b88362a684fd858e0e14c83ddf0db4.tar.gz qemu-4bce526ec4b88362a684fd858e0e14c83ddf0db4.tar.xz qemu-4bce526ec4b88362a684fd858e0e14c83ddf0db4.zip | |
target-ppc: KVMPPC_H_CAS fix cpu-version endianess
During KVMPPC_H_CAS processing, the cpu-version updated value is stored
without taking care of the current endianess. As a consequence, the guest
may not switch to the right CPU model, leading to unexpected results.
If needed, the value is now converted.
Fixes: 6d9412ea8132 ("target-ppc: Implement "compat" CPU option")
Signed-off-by: Laurent Dufour <ldufour@linux.vnet.ibm.com>
Reviewed-by: Greg Kurz <gkurz@linux.vnet.ibm.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'linux-user')
0 files changed, 0 insertions, 0 deletions
