public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] KVM: MMU: fix missing post sync audit
@ 2010-11-04 10:30 Xiao Guangrong
  2010-11-04 10:32 ` [PATCH 2/3] KVM: MMU: don not retry #PF for nonpaging guest Xiao Guangrong
  2010-11-04 10:36 ` [PATCH 3/3] KVM: MMU: retry #PF for softmmu Xiao Guangrong
  0 siblings, 2 replies; 20+ messages in thread
From: Xiao Guangrong @ 2010-11-04 10:30 UTC (permalink / raw)
  To: Avi Kivity; +Cc: Marcelo Tosatti, LKML, KVM

Add AUDIT_POST_SYNC audit for 'root_level == PT64_ROOT_LEVEL' case

Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
---
 arch/x86/kvm/mmu.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c
index 5275c50..f3fad4f 100644
--- a/arch/x86/kvm/mmu.c
+++ b/arch/x86/kvm/mmu.c
@@ -2539,6 +2539,7 @@ static void mmu_sync_roots(struct kvm_vcpu *vcpu)
 		hpa_t root = vcpu->arch.mmu.root_hpa;
 		sp = page_header(root);
 		mmu_sync_children(vcpu, sp);
+		trace_kvm_mmu_audit(vcpu, AUDIT_POST_SYNC);
 		return;
 	}
 	for (i = 0; i < 4; ++i) {
-- 
1.7.0.4

^ permalink raw reply related	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2010-11-10  2:04 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-04 10:30 [PATCH 1/3] KVM: MMU: fix missing post sync audit Xiao Guangrong
2010-11-04 10:32 ` [PATCH 2/3] KVM: MMU: don not retry #PF for nonpaging guest Xiao Guangrong
2010-11-04 10:35   ` Gleb Natapov
2010-11-05  5:39     ` Xiao Guangrong
2010-11-05  7:45       ` Gleb Natapov
2010-11-05  8:03         ` Xiao Guangrong
2010-11-05 10:31           ` Gleb Natapov
2010-11-08  2:14             ` Xiao Guangrong
2010-11-08 13:52               ` Gleb Natapov
2010-11-08 16:58                 ` Xiao Guangrong
2010-11-08 17:01                   ` Gleb Natapov
2010-11-09  8:03       ` Gleb Natapov
2010-11-09  8:48         ` Xiao Guangrong
2010-11-09  9:26           ` Gleb Natapov
2010-11-09  9:52             ` Xiao Guangrong
2010-11-09 10:51               ` Gleb Natapov
2010-11-10  2:08                 ` Xiao Guangrong
2010-11-04 10:36 ` [PATCH 3/3] KVM: MMU: retry #PF for softmmu Xiao Guangrong
2010-11-09  8:06   ` Gleb Natapov
2010-11-09  9:16     ` Xiao Guangrong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox