]> asedeno.scripts.mit.edu Git - linux.git/commit
KVM: Move vcpu_load to arch-specific kvm_arch_vcpu_ioctl_set_regs
authorChristoffer Dall <christoffer.dall@linaro.org>
Mon, 4 Dec 2017 20:35:27 +0000 (21:35 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 14 Dec 2017 08:26:52 +0000 (09:26 +0100)
commit875656fe0c8473c544860d557ca1512753d6aeef
tree5f7ca232837ea02b03ff65d6fe8b27fe0711cfd4
parent1fc9b76b3dd2c57ca0fe42742043a5c3cbdc41c1
KVM: Move vcpu_load to arch-specific kvm_arch_vcpu_ioctl_set_regs

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

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