]> git.proxmox.com Git - mirror_qemu.git/blobdiff - tests/tpm-emu.c
exec.c: get nodes_nb_alloc with one MAX calculation
[mirror_qemu.git] / tests / tpm-emu.c
index 125e69718187a6e5846c6389b4f7f50680498409..c43ac4aef80a5d11298092adeafd37ab8cd6443e 100644 (file)
@@ -76,7 +76,7 @@ void *tpm_emu_ctrl_thread(void *data)
     QIOChannelSocket *lioc = qio_channel_socket_new();
     QIOChannel *ioc;
 
-    qio_channel_socket_listen_sync(lioc, s->addr, &error_abort);
+    qio_channel_socket_listen_sync(lioc, s->addr, 1, &error_abort);
 
     g_mutex_lock(&s->data_mutex);
     s->data_cond_signal = true;