summaryrefslogtreecommitdiffstats
path: root/kernel/arch/x86/include/asm/kvm_host.h
diff options
context:
space:
mode:
authorJiang, Yunhong <yunhong.jiang@intel.com>2016-07-21 17:36:18 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-07-21 17:36:18 +0000
commitbceff3ff72bd362baf8a764f75a0e2a1f5aa0870 (patch)
treef09e369ded8c6d27338bb24d98f3ff224a7acf9d /kernel/arch/x86/include/asm/kvm_host.h
parent3a1e86d637c095effee0cff87c8ef67a2924a5ff (diff)
parentebcdab040619575a47ad19b18e7ed5c38d287336 (diff)
Merge "KVM: x86: support using the vmx preemption timer for tsc deadline timer"
Diffstat (limited to 'kernel/arch/x86/include/asm/kvm_host.h')
-rw-r--r--kernel/arch/x86/include/asm/kvm_host.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/arch/x86/include/asm/kvm_host.h b/kernel/arch/x86/include/asm/kvm_host.h
index 30cfd6429..21637c9e9 100644
--- a/kernel/arch/x86/include/asm/kvm_host.h
+++ b/kernel/arch/x86/include/asm/kvm_host.h
@@ -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 {