aboutsummaryrefslogtreecommitdiff
path: root/tests/tpm-emu.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2019-09-04 15:38:27 +0100
committerPeter Maydell <peter.maydell@linaro.org>2019-09-04 15:38:27 +0100
commitda9e0c27214733888d6366794f33c4c2db348dc1 (patch)
tree6360f112aca29244f7187c3442e034f7b5240247 /tests/tpm-emu.c
parentf884294bd76eb89127d311627d8de1b70ec9ba54 (diff)
parent0705e56496d2b155b5796c6b28d4110e5bcbd5d8 (diff)
downloadqemu-da9e0c27214733888d6366794f33c4c2db348dc1.zip
qemu-da9e0c27214733888d6366794f33c4c2db348dc1.tar.gz
qemu-da9e0c27214733888d6366794f33c4c2db348dc1.tar.bz2
Merge remote-tracking branch 'remotes/juanquintela/tags/fail-pull-request' into staging
Fix multifd with big number of channels # gpg: Signature made Wed 04 Sep 2019 07:28:31 BST # gpg: using RSA key 1899FF8EDEBF58CCEE034B82F487EF185872D723 # gpg: Good signature from "Juan Quintela <quintela@redhat.com>" [full] # gpg: aka "Juan Quintela <quintela@trasno.org>" [full] # Primary key fingerprint: 1899 FF8E DEBF 58CC EE03 4B82 F487 EF18 5872 D723 * remotes/juanquintela/tags/fail-pull-request: multifd: Use number of channels as listen backlog socket: Add num connections to qio_net_listener_open_sync() socket: Add num connections to qio_channel_socket_async() socket: Add num connections to qio_channel_socket_sync() socket: Add backlog parameter to socket_listen Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
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;