projects
/
linux-2.6
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi...
[linux-2.6]
/
arch
/
x86
/
kvm
/
kvm_timer.h
1
2
struct kvm_timer {
3
struct hrtimer timer;
4
s64 period; /* unit: ns */
5
atomic_t pending; /* accumulated triggered timers */
6
bool reinject;
7
struct kvm_timer_ops *t_ops;
8
struct kvm *kvm;
9
int vcpu_id;
10
};
11
12
struct kvm_timer_ops {
13
bool (*is_periodic)(struct kvm_timer *);
14
};
15
16
17
enum hrtimer_restart kvm_timer_fn(struct hrtimer *data);
18