aboutsummaryrefslogtreecommitdiff
path: root/tests/tpm-emu.c
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2019-08-19 15:29:58 +0200
committerJuan Quintela <quintela@redhat.com>2019-09-03 23:24:42 +0200
commit4e2d8bf6f143138ad121545a7cf4525e36040039 (patch)
tree52d1502ef57984dbf9fef936d92c76b74f7753f3 /tests/tpm-emu.c
parente5b6353cf25c99c3f08bf51e29933352f7140e8f (diff)
downloadqemu-4e2d8bf6f143138ad121545a7cf4525e36040039.zip
qemu-4e2d8bf6f143138ad121545a7cf4525e36040039.tar.gz
qemu-4e2d8bf6f143138ad121545a7cf4525e36040039.tar.bz2
socket: Add num connections to qio_channel_socket_sync()
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'tests/tpm-emu.c')
-rw-r--r--tests/tpm-emu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tpm-emu.c b/tests/tpm-emu.c
index 125e697..c43ac4a 100644
--- a/tests/tpm-emu.c
+++ b/tests/tpm-emu.c
@@ -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;