Message ID | 20180928075832.18586-2-w.bumiller@proxmox.com |
---|---|
State | New |
Headers | show |
Series | delay monitor iothread creation | expand |
diff --git a/monitor.c b/monitor.c index c4677b502b..d47e4259fd 100644 --- a/monitor.c +++ b/monitor.c @@ -4285,7 +4285,7 @@ int monitor_suspend(Monitor *mon) atomic_inc(&mon->suspend_cnt); - if (monitor_is_qmp(mon)) { + if (monitor_is_qmp(mon) && mon->use_io_thread) { /* * Kick I/O thread to make sure this takes effect. It'll be * evaluated again in prepare() of the watch object.