Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5054c0de authored by Xiao Guangrong's avatar Xiao Guangrong Committed by Avi Kivity
Browse files

KVM: MMU: fix missing post sync audit



Add AUDIT_POST_SYNC audit for long mode shadow page

Signed-off-by: default avatarXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent d89f5eff
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2540,6 +2540,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) {