KVM: MMU: improve spte audit
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Mon, 30 Aug 2010 10:25:51 +0000 (18:25 +0800)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:51:58 +0000 (10:51 +0200)
commiteb2591865a234c6fb1162085d9b277236fa890b6
treeccc0b0b6a837ca8ecc13cc2184da25fd6478860c
parent49edf87806f52a005152beaed9f4731862efc8fe
KVM: MMU: improve spte audit

Both audit_mappings() and audit_sptes_have_rmaps() need to walk vcpu's page
table, so we can do these checking in a spte walking

Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/mmu_audit.c