KVM: add kvm_arch_sched_in
authorRadim Krčmář <rkrcmar@redhat.com>
Thu, 21 Aug 2014 16:08:05 +0000 (18:08 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 21 Aug 2014 16:45:21 +0000 (18:45 +0200)
commite790d9ef6405633b007339d746b709aed43a928d
tree27b3a05596ce329f299e481f301de21e75328704
parent6689fbe3cf65b8c0dbbc87c40c085452997ffd8b
KVM: add kvm_arch_sched_in

Introduce preempt notifiers for architecture specific code.
Advantage over creating a new notifier in every arch is slightly simpler
code and guaranteed call order with respect to kvm_sched_in.

Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/arm/kvm/arm.c
arch/mips/kvm/mips.c
arch/powerpc/kvm/powerpc.c
arch/s390/kvm/kvm-s390.c
arch/x86/kvm/x86.c
include/linux/kvm_host.h
virt/kvm/kvm_main.c