KVM: Move vcpu_load to arch-specific kvm_arch_vcpu_ioctl_translate
commit1da5b61dac98360a7e50b1565f6d499c6fc8123a
authorChristoffer Dall <christoffer.dall@linaro.org>
Mon, 4 Dec 2017 20:35:32 +0000 (4 21:35 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 14 Dec 2017 08:26:55 +0000 (14 09:26 +0100)
treef21b70ba71dbd98a9f3c8af1b5c15ed05334da33
parente83dff5edf0c3f014e4b4ac5e1c86dbe797687c7
KVM: Move vcpu_load to arch-specific kvm_arch_vcpu_ioctl_translate

Move vcpu_load() and vcpu_put() into the architecture specific
implementations of kvm_arch_vcpu_ioctl_translate().

Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/powerpc/kvm/booke.c
arch/x86/kvm/x86.c
virt/kvm/kvm_main.c