KVM: VMX: flush TLB with INVEPT on cpu migration
authorMarcelo Tosatti <mtosatti@redhat.com>
Thu, 1 Oct 2009 22:16:58 +0000 (19:16 -0300)
committerAvi Kivity <avi@redhat.com>
Sun, 4 Oct 2009 11:57:24 +0000 (13:57 +0200)
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>

No differences found