Paolo Bonzini cd1bd53a66 qemu-timer: introduce timer_deinit
In some cases, a timer was set to NULL so that we could check if it is
initialized.  Use the timer_list field instead, and add a timer_deinit
function that NULLs it.

It then makes sense that timer_del be a no-op (instead of a crasher) on
such a de-initialized timer.  It avoids the need to poke at the timerlist
field to check if the timers are initialized.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2015-01-26 12:22:44 +01:00
..
2014-11-02 10:04:34 +03:00
2014-11-02 10:04:34 +03:00
2014-10-09 15:36:15 +02:00
2013-02-16 11:11:34 +00:00
2014-05-30 13:00:28 -06:00
2014-12-16 18:43:19 +00:00
2014-02-20 13:14:18 +01:00
2015-01-13 13:43:29 +00:00
2014-06-19 18:44:19 +03:00
2014-02-01 13:46:06 +04:00
2014-03-13 14:42:21 +01:00
2015-01-16 13:06:17 +05:30
2013-10-17 17:30:55 +02:00
2013-10-17 17:30:55 +02:00
2015-01-26 12:22:44 +01:00
2015-01-20 14:24:07 +00:00