]> git.karo-electronics.de Git - karo-tx-linux.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)
commit8ca40a70a70988c0bdea106c894843f763ca2989
tree32879a731d622440440c501bc221da948e1e3e1c
parent1f5b77f51a221f5eb10af08da9067fba360dc52f
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