diff options
author | Fam Zheng <famz@redhat.com> | 2016-04-22 21:53:53 +0800 |
---|---|---|
committer | Timothy Pearson <tpearson@raptorengineering.com> | 2019-11-29 20:03:50 -0600 |
commit | c00fe5ce419d94dbeea81d3fd4d234ecfab02581 (patch) | |
tree | 00ee1c39059e22fdd75e036ad848b4925deee717 /stubs | |
parent | a9838399d4fc50f0e713445609441b77ec41b8e7 (diff) | |
download | hqemu-c00fe5ce419d94dbeea81d3fd4d234ecfab02581.zip hqemu-c00fe5ce419d94dbeea81d3fd4d234ecfab02581.tar.gz |
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 'stubs')
-rw-r--r-- | stubs/set-fd-handler.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/stubs/set-fd-handler.c b/stubs/set-fd-handler.c index 26965de..06a5da4 100644 --- a/stubs/set-fd-handler.c +++ b/stubs/set-fd-handler.c @@ -9,3 +9,13 @@ void qemu_set_fd_handler(int fd, { abort(); } + +void aio_set_fd_handler(AioContext *ctx, + int fd, + bool is_external, + IOHandler *io_read, + IOHandler *io_write, + void *opaque) +{ + abort(); +} |