aboutsummaryrefslogtreecommitdiff
path: root/include/qemu/event_notifier.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2017-01-10 11:54:52 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2017-01-16 17:52:35 +0100
commitd6da1e9eca939e8f9d41639be17c4bf5af7d5625 (patch)
treea97b13d93a53d6512b48c8483b75e2516f2c72c3 /include/qemu/event_notifier.h
parenta0f80010b37afc18030d43f2b96cc1e0b7588b73 (diff)
downloadqemu-d6da1e9eca939e8f9d41639be17c4bf5af7d5625.zip
qemu-d6da1e9eca939e8f9d41639be17c4bf5af7d5625.tar.gz
qemu-d6da1e9eca939e8f9d41639be17c4bf5af7d5625.tar.bz2
event_notifier: cleanups around event_notifier_set_handler
Remove the useless is_external argument. Since the iohandler AioContext is never used for block devices, aio_disable_external is never called on it. This lets us remove stubs/iohandler.c. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/qemu/event_notifier.h')
-rw-r--r--include/qemu/event_notifier.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/qemu/event_notifier.h b/include/qemu/event_notifier.h
index e326990..599c99f 100644
--- a/include/qemu/event_notifier.h
+++ b/include/qemu/event_notifier.h
@@ -34,9 +34,6 @@ 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 *,
- bool is_external,
- EventNotifierHandler *);
#ifdef CONFIG_POSIX
void event_notifier_init_fd(EventNotifier *, int fd);