]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
KVM: Move vcpu_load to arch-specific kvm_arch_vcpu_ioctl_set_fpu
authorChristoffer Dall <christoffer.dall@linaro.org>
Mon, 4 Dec 2017 20:35:35 +0000 (21:35 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 14 Dec 2017 08:26:57 +0000 (09:26 +0100)
commit6a96bc7fa0cdd96bac2b8298d708a94f8de6f6d4
treece8c773ce662332d689cce3409e12faaf79b4b3e
parent1393123e1e24aba96413d351b9546086ea07504d
KVM: Move vcpu_load to arch-specific kvm_arch_vcpu_ioctl_set_fpu

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

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/s390/kvm/kvm-s390.c
arch/x86/kvm/x86.c
virt/kvm/kvm_main.c