summaryrefslogtreecommitdiff
path: root/kvm.h
diff options
context:
space:
mode:
authorRobert Mustacchi <rm@joyent.com>2011-04-19 13:25:50 -0700
committerRobert Mustacchi <rm@joyent.com>2011-04-19 13:25:50 -0700
commitc8659f703ed8136ee2079a5ad78168985068c395 (patch)
treeab39f6327aaa71c791cee910a9a017e82e171306 /kvm.h
parentdab49d4fbc6c98c88cc8b3bf799a9766ef6e254e (diff)
downloadillumos-kvm-c8659f703ed8136ee2079a5ad78168985068c395.tar.gz
HVM-88 Removing a cyclic before adding it
Diffstat (limited to 'kvm.h')
-rw-r--r--kvm.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/kvm.h b/kvm.h
index a59eac7..c84015b 100644
--- a/kvm.h
+++ b/kvm.h
@@ -344,10 +344,11 @@ struct kvm_timer {
#else
cyclic_id_t kvm_cyclic_id;
cyc_handler_t kvm_cyc_handler;
- cyc_time_t kvm_cyc_when;
+ cyc_time_t kvm_cyc_when;
+ int active;
#endif /*XXX*/
int64_t period; /* unit: ns */
- int32_t pending; /* accumulated triggered timers */
+ uint32_t pending; /* accumulated triggered timers */
int reinject;
struct kvm_timer_ops *t_ops;
struct kvm *kvm;