Paolo Bonzini 3db1ee7c2a qemu-timer: do not take the lock in timer_pending
We can deduce the result from expire_time, by making it always -1 if
the timer is not in the active_timers list.  We need to check against
negative times passed to timer_mod_ns; clamping them to zero is not
a problem because the only clock that has a zero value at VM startup
is QEMU_CLOCK_VIRTUAL, and it is monotonic so it cannot be non-zero.
QEMU_CLOCK_HOST, instead, is not monotonic but it cannot go to negative
values unless the host time is seriously screwed up and points to
the 1960s.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2013-09-18 15:48:33 +02:00
2013-08-30 15:48:43 +02:00
2013-07-30 23:11:07 +01:00
2013-08-07 12:48:00 -05:00
2013-09-03 12:33:32 -05:00
2013-07-30 23:11:07 +01:00
2013-09-03 12:25:55 +02:00
2013-09-03 12:25:55 +02:00
2013-09-13 12:02:33 +02:00
2013-09-05 09:40:31 -05:00
2013-09-03 12:25:55 +02:00
2013-09-06 15:25:08 +02:00
2013-09-02 09:08:29 -07:00
2013-09-03 12:25:55 +02:00
2013-09-03 12:25:55 +02:00
2013-09-03 12:25:55 +02:00
2013-09-03 12:25:55 +02:00
2013-08-12 09:15:12 -05:00
2013-09-03 12:25:55 +02:00
2013-09-01 19:03:43 +04:00
2013-09-03 12:33:32 -05:00
2013-09-06 15:25:08 +02:00
2013-09-12 09:58:18 +02:00
2013-09-12 13:49:50 +02:00
2013-09-02 09:08:29 -07:00
2013-09-10 11:14:08 +02:00
2013-09-03 12:25:55 +02:00
2013-08-15 15:41:13 -05:00
2013-08-27 14:21:16 +02:00

Read the documentation in qemu-doc.html or on http://wiki.qemu.org

- QEMU team
Description
No description provided
Readme 404 MiB
Languages
C 82.6%
C++ 6.5%
Python 3.4%
Dylan 2.9%
Shell 1.6%
Other 2.8%