summaryrefslogtreecommitdiff
path: root/kvm.h
diff options
context:
space:
mode:
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;