Re: [PATCH 3/4] KVM: PPC: e500: Introduce msr_block for e500v2

2011-03-29 Thread Alexander Graf
On 28.03.2011, at 21:25, Scott Wood wrote: From: yu liu yu@freescale.com In order to use lazy SPE register save/restore, we need to know when the guest is using MSR[SPE]. In order to do that, we need to control the actual MSR[SPE] separately from the guest's notion of MSR[SPE].

Re: [PATCH 3/4] KVM: PPC: e500: Introduce msr_block for e500v2

2011-03-29 Thread Scott Wood
On Tue, 29 Mar 2011 11:37:44 +0200 Alexander Graf ag...@suse.de wrote: On 28.03.2011, at 21:25, Scott Wood wrote: From: yu liu yu@freescale.com In order to use lazy SPE register save/restore, we need to know when the guest is using MSR[SPE]. In order to do that, we need to

[PATCH 3/4] KVM: PPC: e500: Introduce msr_block for e500v2

2011-03-28 Thread Scott Wood
From: yu liu yu@freescale.com In order to use lazy SPE register save/restore, we need to know when the guest is using MSR[SPE]. In order to do that, we need to control the actual MSR[SPE] separately from the guest's notion of MSR[SPE]. Only bits set in msr_block can be changed by the guest