diff options
Diffstat (limited to 'migration-tcp.c')
-rw-r--r-- | migration-tcp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/migration-tcp.c b/migration-tcp.c index 3f5b1049c0..7f67fd9eb6 100644 --- a/migration-tcp.c +++ b/migration-tcp.c @@ -16,7 +16,7 @@ #include "migration.h" #include "qemu-char.h" #include "sysemu.h" -#include "console.h" +#include "monitor.h" #include "buffered_file.h" #include "block.h" @@ -110,7 +110,7 @@ MigrationState *tcp_start_outgoing_migration(const char *host_port, if (s->detach == 1) { dprintf("detaching from monitor\n"); - monitor_suspend(); + monitor_suspend(cur_mon); s->detach = 2; } |