commit | eb5109e311b5152c0614a28d7d615d087f268f19 | [log] [tgz] |
---|---|---|
author | Marcelo Tosatti <mtosatti@redhat.com> | Thu Oct 01 19:16:58 2009 -0300 |
committer | Avi Kivity <avi@redhat.com> | Sun Oct 04 13:57:24 2009 +0200 |
tree | 7e6cff230fb9ba1c0af815f1cdbb08cdf818389d | |
parent | b2d83cfa3fdefe5c6573d443d099a18dc3a93c5f [diff] |
KVM: VMX: flush TLB with INVEPT on cpu migration 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. Cc: stable@kernel.org Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>