]> git.proxmox.com Git - qemu.git/blobdiff - aio-win32.c
qom: pass file/line/function to asserting casts
[qemu.git] / aio-win32.c
index 9a26f9c3d970351975bab675f30c70cfc5422b7a..38723bf1d37160a6de72763100f42fd66c401449 100644 (file)
@@ -17,8 +17,8 @@
 
 #include "qemu-common.h"
 #include "block/block.h"
-#include "qemu-queue.h"
-#include "qemu_socket.h"
+#include "qemu/queue.h"
+#include "qemu/sockets.h"
 
 struct AioHandler {
     EventNotifier *e;
@@ -214,5 +214,6 @@ bool aio_poll(AioContext *ctx, bool blocking)
         events[ret - WAIT_OBJECT_0] = events[--count];
     }
 
-    return progress;
+    assert(progress || busy);
+    return true;
 }