You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
358 B
18 lines
358 B
|
|
struct kvm_timer {
|
|
struct hrtimer timer;
|
|
s64 period; /* unit: ns */
|
|
atomic_t pending; /* accumulated triggered timers */
|
|
bool reinject;
|
|
struct kvm_timer_ops *t_ops;
|
|
struct kvm *kvm;
|
|
struct kvm_vcpu *vcpu;
|
|
};
|
|
|
|
struct kvm_timer_ops {
|
|
bool (*is_periodic)(struct kvm_timer *);
|
|
};
|
|
|
|
|
|
enum hrtimer_restart kvm_timer_fn(struct hrtimer *data);
|
|
|
|
|