KVM: MMU: Clean up MMU functions to take struct kvm when appropriate
authorAnthony Liguori <aliguori@us.ibm.com>
Thu, 11 Oct 2007 00:25:50 +0000 (19:25 -0500)
committerAvi Kivity <avi@qumranet.com>
Wed, 30 Jan 2008 15:52:51 +0000 (17:52 +0200)
commitf67a46f4aa1212b38696ac6b6a82b4323cea61aa
tree7d9b86dda5a4b4196f0cbd11ef395d7e1c78fbb4
parent043405e10001fe7aae60c46a57189515f13a6468
KVM: MMU: Clean up MMU functions to take struct kvm when appropriate

Some of the MMU functions take a struct kvm_vcpu even though they affect all
VCPUs.  This patch cleans up some of them to instead take a struct kvm.  This
makes things a bit more clear.

The main thing that was confusing me was whether certain functions need to be
called on all VCPUs.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/mmu.c
drivers/kvm/paging_tmpl.h