aboutsummaryrefslogtreecommitdiff
path: root/qapi-schema.json
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2015-10-20 16:51:43 +0100
committerPeter Maydell <peter.maydell@linaro.org>2015-10-20 16:51:43 +0100
commit426c0df9e3e6e64c7ea489092c57088ca4d227d0 (patch)
treee4880d0411a419ef368c030762e6b54bc8276be9 /qapi-schema.json
parentee9dfed242610ecb91418270fd46b875ed56e201 (diff)
parent88c5f205fa4c095db4c50eb7ad72816140206819 (diff)
Merge remote-tracking branch 'remotes/berrange/tags/io-channel-3-for-upstream' into staging
Merge io-channels-3 partial branch # gpg: Signature made Tue 20 Oct 2015 16:36:10 BST using RSA key ID 15104FDF # gpg: Good signature from "Daniel P. Berrange <dan@berrange.com>" # gpg: aka "Daniel P. Berrange <berrange@redhat.com>" * remotes/berrange/tags/io-channel-3-for-upstream: util: pull Buffer code out of VNC module coroutine: move into libqemuutil.a library osdep: add qemu_fork() wrapper for safely handling signals ui: convert VNC startup code to use SocketAddress sockets: allow port to be NULL when listening on IP address sockets: move qapi_copy_SocketAddress into qemu-sockets.c sockets: add helpers for creating SocketAddress from a socket Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'qapi-schema.json')
-rw-r--r--qapi-schema.json6
1 files changed, 4 insertions, 2 deletions
diff --git a/qapi-schema.json b/qapi-schema.json
index 702b7b5dbd..f60be2950c 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -2614,7 +2614,9 @@
#
# @host: host part of the address
#
-# @port: port part of the address, or lowest port if @to is present
+# @port: port part of the address, or lowest port if @to is present.
+# Kernel selects a free port if omitted for listener addresses.
+# #optional
#
# @to: highest port to try
#
@@ -2629,7 +2631,7 @@
{ 'struct': 'InetSocketAddress',
'data': {
'host': 'str',
- 'port': 'str',
+ '*port': 'str',
'*to': 'uint16',
'*ipv4': 'bool',
'*ipv6': 'bool' } }