]> git.proxmox.com Git - mirror_qemu.git/blobdiff - aio-posix.c
9pfs: handle walk of ".." in the root directory
[mirror_qemu.git] / aio-posix.c
index 6006122e0b9a3841d901cb856bc45529364e5995..43162a9f29164697c28e2f7990f596deacefb61f 100644 (file)
@@ -485,12 +485,13 @@ bool aio_poll(AioContext *ctx, bool blocking)
     return progress;
 }
 
-void aio_context_setup(AioContext *ctx, Error **errp)
+void aio_context_setup(AioContext *ctx)
 {
 #ifdef CONFIG_EPOLL_CREATE1
     assert(!ctx->epollfd);
     ctx->epollfd = epoll_create1(EPOLL_CLOEXEC);
     if (ctx->epollfd == -1) {
+        fprintf(stderr, "Failed to create epoll instance: %s", strerror(errno));
         ctx->epoll_available = false;
     } else {
         ctx->epoll_available = true;