diff options
author | Juan Quintela <quintela@redhat.com> | 2019-08-19 18:08:21 +0200 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2019-09-03 23:24:42 +0200 |
commit | fc8135c63021e8e442a7a894e5434f210614a73c (patch) | |
tree | 2fbd34e7d7a57cd9f9b31a2695c4d7f6270ebe08 /migration/socket.c | |
parent | 7959e29ea0d6100038367beff9a0da0c83b322a2 (diff) |
socket: Add num connections to qio_net_listener_open_sync()
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'migration/socket.c')
-rw-r--r-- | migration/socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |