Re: [PATCH 2/6] KVM: PPC: BOOK3S: HV: Deny virtual page class key update via h_protect

2014-07-02 Thread Aneesh Kumar K.V
Paul Mackerras writes: > On Sun, Jun 29, 2014 at 04:47:31PM +0530, Aneesh Kumar K.V wrote: >> This makes it consistent with h_enter where we clear the key >> bits. We also want to use virtual page class key protection mechanism >> for indicating host page fault. For that we will be using key clas

Re: [PATCH 2/6] KVM: PPC: BOOK3S: HV: Deny virtual page class key update via h_protect

2014-07-01 Thread Paul Mackerras
On Sun, Jun 29, 2014 at 04:47:31PM +0530, Aneesh Kumar K.V wrote: > This makes it consistent with h_enter where we clear the key > bits. We also want to use virtual page class key protection mechanism > for indicating host page fault. For that we will be using key class > index 30 and 31. So preven

[PATCH 2/6] KVM: PPC: BOOK3S: HV: Deny virtual page class key update via h_protect

2014-06-29 Thread Aneesh Kumar K.V
This makes it consistent with h_enter where we clear the key bits. We also want to use virtual page class key protection mechanism for indicating host page fault. For that we will be using key class index 30 and 31. So prevent the guest from updating key bits until we add proper support for virtual