]> git.proxmox.com Git - mirror_qemu.git/blobdiff - util/async.c
migration/postcopy: mis->have_listen_thread check will never be touched
[mirror_qemu.git] / util / async.c
index 4e4c7af51e0e776bffdf4156d244c6b114fe3c8f..ca83e32c7fa13d18f09cf2b921cb1f79c2cc2918 100644 (file)
@@ -354,7 +354,11 @@ void aio_notify(AioContext *ctx)
 
 void aio_notify_accept(AioContext *ctx)
 {
-    if (atomic_xchg(&ctx->notified, false)) {
+    if (atomic_xchg(&ctx->notified, false)
+#ifdef WIN32
+        || true
+#endif
+    ) {
         event_notifier_test_and_clear(&ctx->notifier);
     }
 }