Revision 376253ec migration-tcp.c

b/migration-tcp.c
16 16
#include "migration.h"
17 17
#include "qemu-char.h"
18 18
#include "sysemu.h"
19
#include "console.h"
19
#include "monitor.h"
20 20
#include "buffered_file.h"
21 21
#include "block.h"
22 22

  
......
110 110

  
111 111
    if (s->detach == 1) {
112 112
        dprintf("detaching from monitor\n");
113
        monitor_suspend();
113
        monitor_suspend(cur_mon);
114 114
        s->detach = 2;
115 115
    }
116 116

  

Also available in: Unified diff