]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
KVM: VMX: Add ept_sync_context in flush_tlb
authorSheng Yang <sheng.yang@intel.com>
Sun, 6 Jul 2008 11:16:51 +0000 (19:16 +0800)
committerAvi Kivity <avi@qumranet.com>
Sun, 20 Jul 2008 09:42:38 +0000 (12:42 +0300)
commit4e1096d27f3d095735c1c69c7b0a26a06a0d454e
treea729673f80d22b49f145cee1a9d1cbbc3ec0f459
parent5a4c92880493945678315a6df810f7a21f55b985
KVM: VMX: Add ept_sync_context in flush_tlb

Fix a potention issue caused by kvm_mmu_slot_remove_write_access(). The
old behavior don't sync EPT TLB with modified EPT entry, which result
in inconsistent content of EPT TLB and EPT table.

Signed-off-by: Sheng Yang <sheng.yang@intel.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/x86/kvm/vmx.c