KVM: x86: support using the vmx preemption timer for tsc deadline timer
[kvmfornfv.git] / kernel / arch / x86 / include / asm / kvm_host.h
index 30cfd64..21637c9 100644 (file)
@@ -911,6 +911,9 @@ struct kvm_x86_ops {
        void (*post_block)(struct kvm_vcpu *vcpu);
        int (*update_pi_irte)(struct kvm *kvm, unsigned int host_irq,
                              uint32_t guest_irq, bool set);
+
+       int (*set_hv_timer)(struct kvm_vcpu *vcpu, u64 guest_deadline_tsc);
+       void (*cancel_hv_timer)(struct kvm_vcpu *vcpu);
 };
 
 struct kvm_arch_async_pf {