KVM: Move cpuid code to new file
[deliverable/linux.git] / arch / x86 / kvm / kvm_timer.h
CommitLineData
d3c7b77d
MT
1
2struct kvm_timer {
3 struct hrtimer timer;
4 s64 period; /* unit: ns */
a3e06bbe
LJ
5 u32 timer_mode_mask;
6 u64 tscdeadline;
d3c7b77d
MT
7 atomic_t pending; /* accumulated triggered timers */
8 bool reinject;
9 struct kvm_timer_ops *t_ops;
10 struct kvm *kvm;
1ed0ce00 11 struct kvm_vcpu *vcpu;
d3c7b77d
MT
12};
13
14struct kvm_timer_ops {
0fc5c3a5 15 bool (*is_periodic)(struct kvm_timer *);
d3c7b77d
MT
16};
17
d3c7b77d 18enum hrtimer_restart kvm_timer_fn(struct hrtimer *data);
This page took 0.194306 seconds and 5 git commands to generate.