KVM: MMU: cleanup/fix mmu audit code
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Thu, 1 Apr 2010 08:50:45 +0000 (16:50 +0800)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:17:27 +0000 (12:17 +0300)
This patch does:
- 'sp' parameter in inspect_spte_fn() is not used, so remove it
- fix 'kvm' and 'slots' is not defined in count_rmaps()
- fix a bug in inspect_spte_has_rmap()

Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>

No differences found