aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/kvm_host.h
diff options
context:
space:
mode:
authorRadim Krčmář <rkrcmar@redhat.com>2014-08-21 12:08:05 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2014-08-21 12:45:21 -0400
commite790d9ef6405633b007339d746b709aed43a928d (patch)
tree27b3a05596ce329f299e481f301de21e75328704 /include/linux/kvm_host.h
parent6689fbe3cf65b8c0dbbc87c40c085452997ffd8b (diff)
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>
Diffstat (limited to 'include/linux/kvm_host.h')
-rw-r--r--include/linux/kvm_host.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h
index a4c33b34fe3f..ebd723676633 100644
--- a/include/linux/kvm_host.h
+++ b/include/linux/kvm_host.h
@@ -624,6 +624,8 @@ void kvm_arch_exit(void);
624int kvm_arch_vcpu_init(struct kvm_vcpu *vcpu); 624int kvm_arch_vcpu_init(struct kvm_vcpu *vcpu);
625void kvm_arch_vcpu_uninit(struct kvm_vcpu *vcpu); 625void kvm_arch_vcpu_uninit(struct kvm_vcpu *vcpu);
626 626
627void kvm_arch_sched_in(struct kvm_vcpu *vcpu, int cpu);
628
627void kvm_arch_vcpu_free(struct kvm_vcpu *vcpu); 629void kvm_arch_vcpu_free(struct kvm_vcpu *vcpu);
628void kvm_arch_vcpu_load(struct kvm_vcpu *vcpu, int cpu); 630void kvm_arch_vcpu_load(struct kvm_vcpu *vcpu, int cpu);
629void kvm_arch_vcpu_put(struct kvm_vcpu *vcpu); 631void kvm_arch_vcpu_put(struct kvm_vcpu *vcpu);