On Tue, 19 Apr 2011 00:43:51 +0200
Alexander Graf <[email protected]> wrote:

> On 19.04.2011, at 00:31, Scott Wood wrote:
> 
> > diff --git a/arch/powerpc/kvm/booke_interrupts.S 
> > b/arch/powerpc/kvm/booke_interrupts.S
> > index 54c19d2..cde29c4 100644
> > --- a/arch/powerpc/kvm/booke_interrupts.S
> > +++ b/arch/powerpc/kvm/booke_interrupts.S
> > @@ -184,6 +184,8 @@ _GLOBAL(kvmppc_resume_host)
> >     stw     r3, VCPU_GPR(r4)(r4)
> >     mfspr   r3, SPRN_SRR0
> >     stw     r3, VCPU_PC(r4)
> > +   mfspr   r3, SPRN_VRSAVE
> > +   stw     r3, VCPU_VRSAVE(r4)
> 
> Do we need to swap this on every exit or is vcpu_load/put enough?

vcpu_load/put is OK.

-Scott

--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to