The event notifier state is only reset by test_and_clear. But we created
the windows event object with auto-reset, which subtly swallowed events.
Reviewed-by: Stefan Hajnoczi <[email protected]>
Signed-off-by: Jan Kiszka <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>
int event_notifier_init(EventNotifier *e, int active)
{
- e->event = CreateEvent(NULL, FALSE, FALSE, NULL);
+ e->event = CreateEvent(NULL, TRUE, FALSE, NULL);
assert(e->event);
return 0;
}