qemu-timer: initialize "timers_done_ev" to set
commite4efd8a488d0a68b0af34d8ee245463df7c8bdf4
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 21 Jul 2015 14:07:48 +0000 (21 16:07 +0200)
committerStefan Hajnoczi <stefanha@redhat.com>
Wed, 22 Jul 2015 11:41:32 +0000 (22 12:41 +0100)
tree396aad0e2b0ea5b38aeaf83dbd7c3195621a2488
parent999006975840f8cdf2038a587d852a6cbfe58e3b
qemu-timer: initialize "timers_done_ev" to set

The normal value for the event is to be set.  If we do not do
this, pause_all_vcpus (through qemu_clock_enable) hangs unless
timerlist_run_timers has been run at least once for the timerlist.
This can happen with the following patches, that make aio_notify do
nothing most of the time.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Tested-by: Richard W.M. Jones <rjones@redhat.com>
Message-id: 1437487673-23740-2-git-send-email-pbonzini@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
qemu-timer.c