diff options
author | Radim Krčmář <rkrcmar@redhat.com> | 2014-08-21 16:08:06 (GMT) |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-08-21 16:45:22 (GMT) |
commit | ae97a3b818324b92b5b9cc885c63c3f4bd46ee9d (patch) | |
tree | 0e68991ad4458f41fe3fae3ee85aaa6e9be2cdc8 /arch/x86/include | |
parent | e790d9ef6405633b007339d746b709aed43a928d (diff) | |
download | linux-ae97a3b818324b92b5b9cc885c63c3f4bd46ee9d.tar.xz |
KVM: x86: introduce sched_in to kvm_x86_ops
sched_in preempt notifier is available for x86, allow its use in
specific virtualization technlogies as well.
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/include')
-rw-r--r-- | arch/x86/include/asm/kvm_host.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h index 4bda61b..ac0f90e 100644 --- a/arch/x86/include/asm/kvm_host.h +++ b/arch/x86/include/asm/kvm_host.h @@ -771,6 +771,8 @@ struct kvm_x86_ops { bool (*mpx_supported)(void); int (*check_nested_events)(struct kvm_vcpu *vcpu, bool external_intr); + + void (*sched_in)(struct kvm_vcpu *kvm, int cpu); }; struct kvm_arch_async_pf { |