]> Git Repo - qemu.git/commit
target-ppc: KVMPPC_H_CAS fix cpu-version endianess
authorLaurent Dufour <[email protected]>
Fri, 27 Jun 2014 13:47:37 +0000 (15:47 +0200)
committerAlexander Graf <[email protected]>
Tue, 8 Jul 2014 10:10:36 +0000 (12:10 +0200)
commit4bce526ec4b88362a684fd858e0e14c83ddf0db4
tree6b78fa03af2c375b955f795cf043463cdc858e32
parent128f0e66149afb2dfc325dfd183aac345f417763
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 <[email protected]>
Reviewed-by: Greg Kurz <[email protected]>
Signed-off-by: Alexander Graf <[email protected]>
hw/ppc/spapr.c
This page took 0.025212 seconds and 4 git commands to generate.