KVM: MMU: fold tlb flush judgement into mmu_spte_update
authorXiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Wed, 20 Jun 2012 07:58:33 +0000 (15:58 +0800)
committerAvi Kivity <avi@redhat.com>
Wed, 11 Jul 2012 13:51:18 +0000 (16:51 +0300)
commit6e7d035407dc402a313e466c4f7ccb21aaed0da2
tree722d1991431fffe0d6d74f75ded56ff31b75a288
parent4f5982a56a70a4a8b7966ef458d3fcdd27aa16cf
KVM: MMU: fold tlb flush judgement into mmu_spte_update

mmu_spte_update() is the common function, we can easily audit the path

Signed-off-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/mmu.c