Re: [PATCH V2 1/2] KVM/VMX: Check ept_pointer before flushing ept tlb

2018-12-17 Thread Tianyu Lan
On Fri, Dec 14, 2018 at 7:00 PM Paolo Bonzini wrote: > > On 06/12/18 08:34, lantianyu1...@gmail.com wrote: > > From: Lan Tianyu > > > > This patch is to initialize ept_pointer to INVALID_PAGE and check it > > before flushing ept tlb. If ept_pointer is invalid, bypass the flush > > request. > > >

Re: [PATCH V2 1/2] KVM/VMX: Check ept_pointer before flushing ept tlb

2018-12-14 Thread Paolo Bonzini
On 06/12/18 08:34, lantianyu1...@gmail.com wrote: > From: Lan Tianyu > > This patch is to initialize ept_pointer to INVALID_PAGE and check it > before flushing ept tlb. If ept_pointer is invalid, bypass the flush > request. > > Signed-off-by: Lan Tianyu Can you explain better *why* this patch

[PATCH V2 1/2] KVM/VMX: Check ept_pointer before flushing ept tlb

2018-12-05 Thread lantianyu1986
From: Lan Tianyu This patch is to initialize ept_pointer to INVALID_PAGE and check it before flushing ept tlb. If ept_pointer is invalid, bypass the flush request. Signed-off-by: Lan Tianyu --- arch/x86/kvm/vmx.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git

[PATCH V2 1/2] KVM/VMX: Check ept_pointer before flushing ept tlb

2018-12-05 Thread lantianyu1986
From: Lan Tianyu This patch is to initialize ept_pointer to INVALID_PAGE and check it before flushing ept tlb. If ept_pointer is invalid, bypass the flush request. Signed-off-by: Lan Tianyu --- arch/x86/kvm/vmx.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git