Re: [Qemu-devel] [PATCH 5/7] ppc: force update of all msr bits in cpu_post_load

2015-01-21 Thread Mark Cave-Ayland
On 20/01/15 15:01, Paolo Bonzini wrote: > On 23/12/2014 01:36, Mark Cave-Ayland wrote: >> 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 marked >> as invalid. >> >> This solves the issue where M

Re: [Qemu-devel] [PATCH 5/7] ppc: force update of all msr bits in cpu_post_load

2015-01-20 Thread Paolo Bonzini
On 23/12/2014 01:36, Mark Cave-Ayland wrote: > 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 marked > as invalid. > > This solves the issue where MSR flags aren't set correctly when restoring

[Qemu-devel] [PATCH 5/7] ppc: force update of all msr bits in cpu_post_load

2014-12-22 Thread Mark Cave-Ayland
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 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_prefi