]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4fd969278f4320cdd3a4326f4e3d3f06352ed565
tree0584f3771086d0ee3a599c7a44b6ad8ff4c1835f
parentcb78ed986719d572e68df7b0203fc4220e425d90
KVM: MMU: cleanup/fix mmu audit code

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>
arch/x86/kvm/mmu.c