From fc8135c63021e8e442a7a894e5434f210614a73c Mon Sep 17 00:00:00 2001 From: Juan Quintela Date: Mon, 19 Aug 2019 18:08:21 +0200 Subject: socket: Add num connections to qio_net_listener_open_sync() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Daniel P. Berrangé Signed-off-by: Juan Quintela --- migration/socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'migration') diff --git a/migration/socket.c b/migration/socket.c index 98efdc0286..e63f5e1612 100644 --- a/migration/socket.c +++ b/migration/socket.c @@ -181,7 +181,7 @@ static void socket_start_incoming_migration(SocketAddress *saddr, qio_net_listener_set_name(listener, "migration-socket-listener"); - if (qio_net_listener_open_sync(listener, saddr, errp) < 0) { + if (qio_net_listener_open_sync(listener, saddr, 1, errp) < 0) { object_unref(OBJECT(listener)); return; } -- cgit v1.2.3