Re: [PATCH] KVM: VMX: fix tlb flush with invalid root

2010-07-04 Thread Xiao Guangrong
Sheng Yang wrote: > On Saturday 03 July 2010 16:02:42 Xiao Guangrong wrote: >> Commit 341d9b535b6c simplify reload logic while entry guest mode, it >> can avoid unnecessary sync-root if KVM_REQ_MMU_RELOAD and >> KVM_REQ_MMU_SYNC both set. > > Which commit you are talking about? Can't find 341d9b

Re: [PATCH] KVM: VMX: fix tlb flush with invalid root

2010-07-04 Thread Marcelo Tosatti
On Sat, Jul 03, 2010 at 04:02:42PM +0800, Xiao Guangrong wrote: > Commit 341d9b535b6c simplify reload logic while entry guest mode, it > can avoid unnecessary sync-root if KVM_REQ_MMU_RELOAD and > KVM_REQ_MMU_SYNC both set. > > But, it cause a issue that when we handle 'KVM_REQ_TLB_FLUSH', the > r

Re: [PATCH] KVM: VMX: fix tlb flush with invalid root

2010-07-04 Thread Sheng Yang
On Saturday 03 July 2010 16:02:42 Xiao Guangrong wrote: > Commit 341d9b535b6c simplify reload logic while entry guest mode, it > can avoid unnecessary sync-root if KVM_REQ_MMU_RELOAD and > KVM_REQ_MMU_SYNC both set. Which commit you are talking about? Can't find 341d9b535b6c... -- regards Yang, S

[PATCH] KVM: VMX: fix tlb flush with invalid root

2010-07-03 Thread Xiao Guangrong
Commit 341d9b535b6c simplify reload logic while entry guest mode, it can avoid unnecessary sync-root if KVM_REQ_MMU_RELOAD and KVM_REQ_MMU_SYNC both set. But, it cause a issue that when we handle 'KVM_REQ_TLB_FLUSH', the root is invalid, it is triggered during my test: Kernel BUG at a0021