diff options
author | Fam Zheng <famz@redhat.com> | 2015-10-23 11:08:08 +0800 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2015-10-23 18:18:24 +0200 |
commit | c1e1e5fa8f25f9061b076a05045a6d4950d1a891 (patch) | |
tree | b862d27d0accfcca71ade3ad4f577afa94cca62c /aio-win32.c | |
parent | 3a1e8074d74ad2acbcedf28d35aebedc3573f19e (diff) | |
download | qemu-c1e1e5fa8f25f9061b076a05045a6d4950d1a891.tar.gz qemu-c1e1e5fa8f25f9061b076a05045a6d4950d1a891.tar.bz2 qemu-c1e1e5fa8f25f9061b076a05045a6d4950d1a891.zip |
aio: introduce aio_{disable,enable}_external
Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'aio-win32.c')
-rw-r--r-- | aio-win32.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/aio-win32.c b/aio-win32.c index 3110d856e4..43c4c79a75 100644 --- a/aio-win32.c +++ b/aio-win32.c @@ -309,7 +309,8 @@ bool aio_poll(AioContext *ctx, bool blocking) /* fill fd sets */ count = 0; QLIST_FOREACH(node, &ctx->aio_handlers, node) { - if (!node->deleted && node->io_notify) { + if (!node->deleted && node->io_notify + && aio_node_check(ctx, node->is_external)) { events[count++] = event_notifier_get_handle(node->e); } } |