]> git.baikalelectronics.ru Git - kernel.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)
commitee1dae914a15b42ec8c783f7ca26d8eb52448854
treea729673f80d22b49f145cee1a9d1cbbc3ec0f459
parent55c0529a2d8f462c9d130c10b030f2db9a7c8de5
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