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

2015-01-26 Thread Alexander Graf
> Am 26.01.2015 um 22:41 schrieb Mark Cave-Ayland > : > >> On 22/01/15 13:37, Alexander Graf wrote: >> >>> On 21.01.15 17:01, 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

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

2015-01-26 Thread Mark Cave-Ayland
On 22/01/15 13:37, Alexander Graf wrote: > On 21.01.15 17:01, 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 except >> MSR_TGPR marked as invalid. >> >> This solves th

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

2015-01-22 Thread Alexander Graf
On 21.01.15 17:01, 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 except > MSR_TGPR marked as invalid. > > This solves the issue where MSR flags aren't set correctly w

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

2015-01-21 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 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