qcow2: Don't try to check tables that couldn't be loaded
[qemu.git] / hw / event_notifier.h
blob24117ea97bf3a50425737aa325de70446ef3454f
1 #ifndef QEMU_EVENT_NOTIFIER_H
2 #define QEMU_EVENT_NOTIFIER_H
4 #include "qemu-common.h"
6 struct EventNotifier {
7 int fd;
8 };
10 int event_notifier_init(EventNotifier *, int active);
11 void event_notifier_cleanup(EventNotifier *);
12 int event_notifier_get_fd(EventNotifier *);
13 int event_notifier_test_and_clear(EventNotifier *);
14 int event_notifier_test(EventNotifier *);
16 #endif