Re: [PATCH] kvmppc/booke: Set ESR and DEAR when inject interrupt to guest

2010-01-26 Thread Hollis Blanchard
ppc-ow...@vger.kernel.org >> >> [mailto:kvm-ppc-ow...@vger.kernel.org] On Behalf Of Alexander Graf >> >> Sent: Friday, January 22, 2010 7:13 PM >> >> To: Liu Yu-B13201 >> >> Cc: hol...@penguinppc.org; kvm-...@vger.kernel.org; >> &g

RE: [PATCH] kvmppc/booke: Set ESR and DEAR when inject interrupt to guest

2010-01-25 Thread Liu Yu-B13201
>> Sent: Friday, January 22, 2010 7:13 PM > >> To: Liu Yu-B13201 > >> Cc: hol...@penguinppc.org; kvm-...@vger.kernel.org; > >> kvm@vger.kernel.org > >> Subject: Re: [PATCH] kvmppc/booke: Set ESR and DEAR when > >> inject interrupt to guest > &g

Re: [PATCH] kvmppc/booke: Set ESR and DEAR when inject interrupt to guest

2010-01-22 Thread Alexander Graf
01 >> Cc: hol...@penguinppc.org; kvm-...@vger.kernel.org; >> kvm@vger.kernel.org >> Subject: Re: [PATCH] kvmppc/booke: Set ESR and DEAR when >> inject interrupt to guest >> >> >> On 22.01.2010, at 11:54, Liu Yu wrote: >> >>> Old method premature

RE: [PATCH] kvmppc/booke: Set ESR and DEAR when inject interrupt to guest

2010-01-22 Thread Liu Yu-B13201
nel.org > Subject: Re: [PATCH] kvmppc/booke: Set ESR and DEAR when > inject interrupt to guest > > > On 22.01.2010, at 11:54, Liu Yu wrote: > > > Old method prematurely sets ESR and DEAR. > > Move this part after we decide to inject interrupt, > > and make it

Re: [PATCH] kvmppc/booke: Set ESR and DEAR when inject interrupt to guest

2010-01-22 Thread Alexander Graf
On 22.01.2010, at 11:54, Liu Yu wrote: > Old method prematurely sets ESR and DEAR. > Move this part after we decide to inject interrupt, > and make it more like hardware behave. > > Signed-off-by: Liu Yu > --- > arch/powerpc/kvm/booke.c | 24 ++-- > arch/powerpc/kvm/emula