]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit90a75fb839bb8ed9c959a99ad242c4ec388d7ee3
tree7d9b86dda5a4b4196f0cbd11ef395d7e1c78fbb4
parent8ce080fe2d5c3dc40b7fc600336d454ccf29239a
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