]> Git Repo - qemu.git/blobdiff - migration/exec.c
target/arm: Pass TCGMemOpIdx to sve memory helpers
[qemu.git] / migration / exec.c
index 0bc5a427dd6b4913ef8e1e44f07dc002e8d6858a..375d2e1b54c421646e613b56efe6511c5c789e7f 100644 (file)
@@ -20,6 +20,7 @@
 #include "qemu/osdep.h"
 #include "channel.h"
 #include "exec.h"
+#include "migration.h"
 #include "io/channel-command.h"
 #include "trace.h"
 
@@ -65,9 +66,8 @@ void exec_start_incoming_migration(const char *command, Error **errp)
     }
 
     qio_channel_set_name(ioc, "migration-exec-incoming");
-    qio_channel_add_watch(ioc,
-                          G_IO_IN,
-                          exec_accept_incoming_migration,
-                          NULL,
-                          NULL);
+    qio_channel_add_watch_full(ioc, G_IO_IN,
+                               exec_accept_incoming_migration,
+                               NULL, NULL,
+                               g_main_context_get_thread_default());
 }
This page took 0.023671 seconds and 4 git commands to generate.