Re: [PATCH 11/11] nEPT: Provide the correct exit qualification upon EPT

2013-05-02 Thread Jan Kiszka
gt; From: Jan Kiszka [mailto:jan.kis...@web.de] > Sent: Sunday, April 28, 2013 5:36 PM > To: Xu, Xinhao > Cc: Nakajima, Jun; kvm@vger.kernel.org > Subject: Re: [PATCH 11/11] nEPT: Provide the correct exit qualification upon > EPT > > On 20

RE: [PATCH 11/11] nEPT: Provide the correct exit qualification upon EPT

2013-05-01 Thread Xu, Xinhao
Hi, Jan Can you provide details of your test environment? -Original Message- From: Jan Kiszka [mailto:jan.kis...@web.de] Sent: Sunday, April 28, 2013 5:36 PM To: Xu, Xinhao Cc: Nakajima, Jun; kvm@vger.kernel.org Subject: Re: [PATCH 11/11] nEPT: Provide the correct exit qualification upon

Re: [PATCH 11/11] nEPT: Provide the correct exit qualification upon EPT

2013-04-29 Thread Nakajima, Jun
On Mon, Apr 29, 2013 at 8:37 AM, Paolo Bonzini wrote: > Il 26/04/2013 08:43, Jun Nakajima ha scritto: >> diff --git a/arch/x86/kvm/paging_tmpl.h b/arch/x86/kvm/paging_tmpl.h >> index e13b6c5..bd370e7 100644 >> --- a/arch/x86/kvm/paging_tmpl.h >> +++ b/arch/x86/kvm/paging_tmpl.h >> @@ -349,7 +349,1

Re: [PATCH 11/11] nEPT: Provide the correct exit qualification upon EPT

2013-04-29 Thread Paolo Bonzini
Il 26/04/2013 08:43, Jun Nakajima ha scritto: > diff --git a/arch/x86/kvm/paging_tmpl.h b/arch/x86/kvm/paging_tmpl.h > index e13b6c5..bd370e7 100644 > --- a/arch/x86/kvm/paging_tmpl.h > +++ b/arch/x86/kvm/paging_tmpl.h > @@ -349,7 +349,12 @@ error: > > walker->fault.vector = PF_VECTOR; >

Re: [PATCH 11/11] nEPT: Provide the correct exit qualification upon EPT

2013-04-28 Thread Jan Kiszka
On 2013-04-27 08:42, Xu, Xinhao wrote: > From 2df72c1e8e3b167a6008ab11e2a68d734c68e425 Mon Sep 17 00:00:00 2001 > From: Xinhao Xu > Date: Sat, 27 Apr 2013 05:45:49 +0800 > Subject: [PATCH] nEPT: Check EPT misconfiguration while walking addr & move > pte > check code to vmx.c Please fix up the s

RE: [PATCH 11/11] nEPT: Provide the correct exit qualification upon EPT

2013-04-26 Thread Xu, Xinhao
= nested_ept_inject_page_fault; + vcpu->arch.mmu.check_tdp_pte = nested_check_ept_pte; vcpu->arch.walk_mmu = &vcpu->arch.nested_mmu; -- 1.7.1 -Original Message- From: kvm-ow...@vger.kernel.org [mailto:kvm-ow...@vger.kernel.org] On Behalf Of Jun Nakaji

[PATCH 11/11] nEPT: Provide the correct exit qualification upon EPT

2013-04-25 Thread Jun Nakajima
Save [2:0] of exit qualificaiton at EPT violation, and use the information when injecting EPT violation. Signed-off-by: Jun Nakajima Signed-off-by: Xinhao Xu --- arch/x86/include/asm/kvm_host.h | 2 ++ arch/x86/kvm/paging_tmpl.h | 5 + arch/x86/kvm/vmx.c | 3 +++ 3 files