[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] [HVM] Make qemu_advance_timer do something sensible with timers which
# HG changeset patch # User Steven Smith <ssmith@xxxxxxxxxxxxx> # Node ID 7fca81d456b2cb40d4effe2492f7ed1aafd32f52 # Parent ef41783c664a14334dd5facc31f0cfa254f5cb77 [HVM] Make qemu_advance_timer do something sensible with timers which aren't currently scheduled. Signed-off-by: Steven Smith <sos22@xxxxxxxxx> --- tools/ioemu/vl.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -r ef41783c664a -r 7fca81d456b2 tools/ioemu/vl.c --- a/tools/ioemu/vl.c Tue Sep 26 14:01:38 2006 +0100 +++ b/tools/ioemu/vl.c Tue Sep 26 16:45:52 2006 +0100 @@ -727,7 +727,7 @@ void qemu_del_timer(QEMUTimer *ts) void qemu_advance_timer(QEMUTimer *ts, int64_t expire_time) { - if (ts->expire_time > expire_time) + if (ts->expire_time > expire_time || !qemu_timer_pending(ts)) qemu_mod_timer(ts, expire_time); } _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |