Re: [PATCH 7/9] KVM, pkeys: Add pkeys support for gva_to_gpa funcions

2015-11-09 Thread Paolo Bonzini
On 09/11/2015 12:54, Huaitong Han wrote: > index 7a84b83..6e9156d 100644 > --- a/arch/x86/kvm/x86.c > +++ b/arch/x86/kvm/x86.c > @@ -3960,6 +3960,8 @@ gpa_t kvm_mmu_gva_to_gpa_read(struct kvm_vcpu *vcpu, > gva_t gva, > struct x86_exception *exception) > { > u32

[PATCH 7/9] KVM, pkeys: Add pkeys support for gva_to_gpa funcions

2015-11-09 Thread Huaitong Han
This patch adds pkeys support for gva_to_gpa funcions. Signed-off-by: Huaitong Han diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index 7a84b83..6e9156d 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c @@ -3960,6 +3960,8 @@ gpa_t kvm_mmu_gva_to_gpa_read(struct kvm_vcpu *vcpu, gva_