diff options
| author | Fam Zheng <famz@redhat.com> | 2016-04-22 21:53:53 +0800 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2016-04-22 16:43:56 +0200 |
| commit | 54e18d35e44c48cf6e13c4ce09962c30b595b72a (patch) | |
| tree | 1c0b141d6ef2e65614205877318d7589fc24c7c4 /include/qemu/event_notifier.h | |
| parent | bcd82a968fbf7d8156eefbae3f3aab59ad576fa2 (diff) | |
| download | focaccia-qemu-54e18d35e44c48cf6e13c4ce09962c30b595b72a.tar.gz focaccia-qemu-54e18d35e44c48cf6e13c4ce09962c30b595b72a.zip | |
event-notifier: Add "is_external" parameter
All callers pass "false" keeping the old semantics. The windows implementation doesn't distinguish the flag yet. On posix, it is passed down to the underlying aio context. Signed-off-by: Fam Zheng <famz@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include/qemu/event_notifier.h')
| -rw-r--r-- | include/qemu/event_notifier.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/qemu/event_notifier.h b/include/qemu/event_notifier.h index a8f28540c9..e326990db4 100644 --- a/include/qemu/event_notifier.h +++ b/include/qemu/event_notifier.h @@ -34,7 +34,9 @@ int event_notifier_init(EventNotifier *, int active); void event_notifier_cleanup(EventNotifier *); int event_notifier_set(EventNotifier *); int event_notifier_test_and_clear(EventNotifier *); -int event_notifier_set_handler(EventNotifier *, EventNotifierHandler *); +int event_notifier_set_handler(EventNotifier *, + bool is_external, + EventNotifierHandler *); #ifdef CONFIG_POSIX void event_notifier_init_fd(EventNotifier *, int fd); |