]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: Take kvm instead of vcpu to mmu_notifier_retry
authorChristoffer Dall <c.dall@virtualopensystems.com>
Mon, 15 Oct 2012 03:10:18 +0000 (23:10 -0400)
committerAvi Kivity <avi@redhat.com>
Tue, 23 Oct 2012 11:35:43 +0000 (13:35 +0200)
commite439b7d55ecad7ed3710c6ffcbf3de0085dcc225
tree32879a731d622440440c501bc221da948e1e3e1c
parent6c824a4d6eaf28d8c233ae7c063f7a32385d93ad
KVM: Take kvm instead of vcpu to mmu_notifier_retry

The mmu_notifier_retry is not specific to any vcpu (and never will be)
so only take struct kvm as a parameter.

The motivation is the ARM mmu code that needs to call this from
somewhere where we long let go of the vcpu pointer.

Signed-off-by: Christoffer Dall <c.dall@virtualopensystems.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/kvm/book3s_64_mmu_hv.c
arch/powerpc/kvm/book3s_hv_rm_mmu.c
arch/x86/kvm/mmu.c
arch/x86/kvm/paging_tmpl.h
include/linux/kvm_host.h