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