Re: [PATCH 19/50] KVM: PPC: Paravirtualize SPRG4-7, ESR, PIR, MASn

2012-01-08 Thread Avi Kivity
On 01/04/2012 03:10 AM, Alexander Graf wrote: > From: Scott Wood > > This allows additional registers to be accessed by the guest > in PR-mode KVM without trapping. > > SPRG4-7 are readable from userspace. On booke, KVM will sync > these registers when it enters the guest, so that accesses from >

[PATCH 19/50] KVM: PPC: Paravirtualize SPRG4-7, ESR, PIR, MASn

2012-01-03 Thread Alexander Graf
From: Scott Wood This allows additional registers to be accessed by the guest in PR-mode KVM without trapping. SPRG4-7 are readable from userspace. On booke, KVM will sync these registers when it enters the guest, so that accesses from guest userspace will work. The guest kernel, OTOH, must co