KVM: MMU: audit: allow audit more guests at the same time
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Thu, 23 Dec 2010 08:08:35 +0000 (16:08 +0800)
committerAvi Kivity <avi@redhat.com>
Wed, 12 Jan 2011 09:31:17 +0000 (11:31 +0200)
It only allows to audit one guest in the system since:
- 'audit_point' is a glob variable
- mmu_audit_disable() is called in kvm_mmu_destroy(), so audit is disabled
  after a guest exited

this patch fix those issues then allow to audit more guests at the same time

Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Signed-off-by: Avi Kivity <avi@redhat.com>

No differences found