On 7/25/19 4:49 AM, Vladimir Sementsov-Ogievskiy wrote: > It's needed to provide keepalive for nbd client to track server > availability. > > Signed-off-by: Vladimir Sementsov-Ogievskiy <[email protected]> > ---
> +++ b/util/qemu-sockets.c
> @@ -219,6 +219,12 @@ static int inet_listen_saddr(InetSocketAddress *saddr,
> bool socket_created = false;
> Error *err = NULL;
>
> + if (saddr->keep_alive) {
> + error_setg(errp, "keep-alive options is not supported for passive "
option
(will fix as part of staging)
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3226
Virtualization: qemu.org | libvirt.org
signature.asc
Description: OpenPGP digital signature
