diff options
| author | Mark Cave-Ayland | 2015-02-09 23:40:48 +0100 |
|---|---|---|
| committer | Alexander Graf | 2015-03-09 15:00:05 +0100 |
| commit | 2360b6e84f78d41fa0f76555a947148b73645259 (patch) | |
| tree | a167c1686e2ded9bb4c3f76e8c971453e8c1d57e /include/qapi/string-input-visitor.h | |
| parent | target-ppc: move sdr1 value change detection logic to helper_store_sdr1() (diff) | |
| download | qemu-2360b6e84f78d41fa0f76555a947148b73645259.tar.gz qemu-2360b6e84f78d41fa0f76555a947148b73645259.tar.xz qemu-2360b6e84f78d41fa0f76555a947148b73645259.zip | |
target-ppc: force update of msr bits in cpu_post_load
Since env->msr has already been restored by the time cpu_post_load is called,
make sure that ppc_store_msr() is explicitly called with all msr bits except
MSR_TGPR marked as invalid.
This solves the issue where MSR flags aren't set correctly when restoring a VM
snapshot, in particular the internal env->excp_prefix value when MSR_EP has
been altered by a guest.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'include/qapi/string-input-visitor.h')
0 files changed, 0 insertions, 0 deletions
