aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>2010-11-12 01:46:08 -0500
committerAvi Kivity <avi@redhat.com>2011-01-12 04:29:11 -0500
commit5054c0de664dbbb47f1e6b69d668b6018df832f6 (patch)
tree57c1f6d3e87cb170f294a0d0ac0c1a1035905f67 /arch/x86
parentd89f5eff70a31237ffa1e21c51d23ca532110aea (diff)
KVM: MMU: fix missing post sync audit
Add AUDIT_POST_SYNC audit for long mode shadow page Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/kvm/mmu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c
index 272e30200030..df465f6d7d8f 100644
--- a/arch/x86/kvm/mmu.c
+++ b/arch/x86/kvm/mmu.c
@@ -2540,6 +2540,7 @@ static void mmu_sync_roots(struct kvm_vcpu *vcpu)
2540 hpa_t root = vcpu->arch.mmu.root_hpa; 2540 hpa_t root = vcpu->arch.mmu.root_hpa;
2541 sp = page_header(root); 2541 sp = page_header(root);
2542 mmu_sync_children(vcpu, sp); 2542 mmu_sync_children(vcpu, sp);
2543 trace_kvm_mmu_audit(vcpu, AUDIT_POST_SYNC);
2543 return; 2544 return;
2544 } 2545 }
2545 for (i = 0; i < 4; ++i) { 2546 for (i = 0; i < 4; ++i) {