]> git.proxmox.com Git - mirror_qemu.git/blobdiff - aio-posix.c
usb-ccid: better bulk_out error handling
[mirror_qemu.git] / aio-posix.c
index 9453d83743310f65015e45ca832fe40d211870cd..577527fda5fe41e85859e5fc8abaaf801263d94e 100644 (file)
@@ -19,7 +19,7 @@
 #include "qemu/rcu_queue.h"
 #include "qemu/sockets.h"
 #include "qemu/cutils.h"
-#include "trace.h"
+#include "trace-root.h"
 #ifdef CONFIG_EPOLL_CREATE1
 #include <sys/epoll.h>
 #endif
@@ -508,7 +508,8 @@ static bool run_poll_handlers_once(AioContext *ctx)
 
     QLIST_FOREACH_RCU(node, &ctx->aio_handlers, node) {
         if (!node->deleted && node->io_poll &&
-                node->io_poll(node->opaque)) {
+            aio_node_check(ctx, node->is_external) &&
+            node->io_poll(node->opaque)) {
             progress = true;
         }