Re: KVM: VMX: flush TLB with INVEPT on cpu migration

2009-10-22 Thread Avi Kivity
On 10/21/2009 03:18 AM, Max Laier wrote: On Friday 02 October 2009 00:16:58 you wrote: It is possible that stale EPTP-tagged mappings are used, if a vcpu migrates to a different pcpu. Set KVM_REQ_TLB_FLUSH in vmx_vcpu_load, when switching pcpus, which will invalidate both VPID and EPT

Re: KVM: VMX: flush TLB with INVEPT on cpu migration

2009-10-20 Thread Max Laier
On Friday 02 October 2009 00:16:58 you wrote: It is possible that stale EPTP-tagged mappings are used, if a vcpu migrates to a different pcpu. Set KVM_REQ_TLB_FLUSH in vmx_vcpu_load, when switching pcpus, which will invalidate both VPID and EPT mappings on the next vm-entry. Thank you - I

Re: KVM: VMX: flush TLB with INVEPT on cpu migration

2009-10-02 Thread Ram Pai
On Thu, 2009-10-01 at 19:16 -0300, Marcelo Tosatti wrote: It is possible that stale EPTP-tagged mappings are used, if a vcpu migrates to a different pcpu. Set KVM_REQ_TLB_FLUSH in vmx_vcpu_load, when switching pcpus, which will invalidate both VPID and EPT mappings on the next vm-entry.