]> rtime.felk.cvut.cz Git - lisovros/linux_canprio.git/commit
KVM: VMX: Add ept_sync_context in flush_tlb
authorSheng Yang <sheng.yang@intel.com>
Wed, 23 Jul 2008 08:43:40 +0000 (11:43 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Aug 2008 19:42:59 +0000 (12:42 -0700)
commit5c9e0efda1c7a7a96614cffa9a5ba33f21ac7599
treebcea55e83c122a0c8182f6784f9fa07a0bc44833
parentb1e0349e2d6a5cb63467ea848ae4f1df095b79d0
KVM: VMX: Add ept_sync_context in flush_tlb

Original-Commit-Hash: 73f785350b92e1a3af945340f7d10f3978193cba

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/kvm/vmx.c