summaryrefslogtreecommitdiffstats
path: root/qemu-timer.h
authorPaolo Bonzini <[email protected]>2011-04-13 08:03:46 (GMT)
committer Edgar E. Iglesias <[email protected]>2011-04-15 07:27:56 (GMT)
commitcb842c90a485d9dbf05fa51e1500b3c1a1931256 (patch) (side-by-side diff)
tree8d79ce50b0e1bbc0548c9584936ca565be75f410 /qemu-timer.h
parent1ece93a91b8435b815ce7214cf41bbbbe7929e8b (diff)
downloadqemu-kvm-cb842c90a485d9dbf05fa51e1500b3c1a1931256.zip
qemu-kvm-cb842c90a485d9dbf05fa51e1500b3c1a1931256.tar.gz
qemu-kvm-cb842c90a485d9dbf05fa51e1500b3c1a1931256.tar.bz2
qemu_next_deadline should not consider host-time timers
It is purely for icount-based virtual timers. And now that we got the code right, rename the function to clarify the intended scope. Signed-off-by: Paolo Bonzini <[email protected]> Tested-by: Edgar E. Iglesias <[email protected]> Signed-off-by: Edgar E. Iglesias <[email protected]>
Diffstat (limited to 'qemu-timer.h') (more/less context) (ignore whitespace changes)
-rw-r--r--qemu-timer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu-timer.h b/qemu-timer.h
index c01bcab..3a9228f 100644
--- a/qemu-timer.h
+++ b/qemu-timer.h
@@ -51,7 +51,7 @@ int qemu_timer_expired(QEMUTimer *timer_head, int64_t current_time);
void qemu_run_all_timers(void);
int qemu_alarm_pending(void);
-int64_t qemu_next_deadline(void);
+int64_t qemu_next_icount_deadline(void);
void configure_alarms(char const *opt);
void configure_icount(const char *option);
int qemu_calculate_timeout(void);