diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2011-04-13 10:03:46 +0200 |
---|---|---|
committer | Edgar E. Iglesias <edgar.iglesias@gmail.com> | 2011-04-15 09:27:56 +0200 |
commit | cb842c90a485d9dbf05fa51e1500b3c1a1931256 (patch) | |
tree | 8d79ce50b0e1bbc0548c9584936ca565be75f410 /qemu-timer.h | |
parent | 1ece93a91b8435b815ce7214cf41bbbbe7929e8b (diff) | |
download | qemu-cb842c90a485d9dbf05fa51e1500b3c1a1931256.zip qemu-cb842c90a485d9dbf05fa51e1500b3c1a1931256.tar.gz qemu-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 <pbonzini@redhat.com>
Tested-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Diffstat (limited to 'qemu-timer.h')
-rw-r--r-- | qemu-timer.h | 2 |
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); |