aboutsummaryrefslogtreecommitdiff
path: root/qapi
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>2019-07-25 12:49:37 +0300
committerEric Blake <eblake@redhat.com>2019-08-15 13:22:13 -0500
commitaec21d31756cbda4ad1d0fc5c60797d2c1eecf33 (patch)
tree5006ab961e9f433a4d431f1eb0f990baa7e46722 /qapi
parent9e06029aea3b2eca1d5261352e695edc1e7d7b8b (diff)
downloadqemu-aec21d31756cbda4ad1d0fc5c60797d2c1eecf33.zip
qemu-aec21d31756cbda4ad1d0fc5c60797d2c1eecf33.tar.gz
qemu-aec21d31756cbda4ad1d0fc5c60797d2c1eecf33.tar.bz2
qapi: Add InetSocketAddress member keep-alive
It's needed to provide keepalive for nbd client to track server availability. Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Message-Id: <20190725094937.32454-1-vsementsov@virtuozzo.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Acked-by: Daniel P. Berrangé <berrange@redhat.com> [eblake: Fix error message typo] Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'qapi')
-rw-r--r--qapi/sockets.json6
1 files changed, 5 insertions, 1 deletions
diff --git a/qapi/sockets.json b/qapi/sockets.json
index fc81d8d..32375f3 100644
--- a/qapi/sockets.json
+++ b/qapi/sockets.json
@@ -53,6 +53,9 @@
#
# @ipv6: whether to accept IPv6 addresses, default try both IPv4 and IPv6
#
+# @keep-alive: enable keep-alive when connecting to this socket. Not supported
+# for passive sockets. (Since 4.2)
+#
# Since: 1.3
##
{ 'struct': 'InetSocketAddress',
@@ -61,7 +64,8 @@
'*numeric': 'bool',
'*to': 'uint16',
'*ipv4': 'bool',
- '*ipv6': 'bool' } }
+ '*ipv6': 'bool',
+ '*keep-alive': 'bool' } }
##
# @UnixSocketAddress: