KVM: MMU: improve active sp audit
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Mon, 30 Aug 2010 10:25:03 +0000 (18:25 +0800)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:51:57 +0000 (10:51 +0200)
commit49edf87806f52a005152beaed9f4731862efc8fe
tree5644102bac68fdb28266d2961a2763f872443ee7
parent2f4f337248cd5660040b7e09b7287a7a0a861f3f
KVM: MMU: improve active sp audit

Both audit_rmap() and audit_write_protection() need to walk all active sp, so
we can do these checking in a sp walking

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