[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH for-2.5 1/6] QAPI: move InetSocketAddress to qapi/co
From: |
Wen Congyang |
Subject: |
[Qemu-devel] [PATCH for-2.5 1/6] QAPI: move InetSocketAddress to qapi/common.json |
Date: |
Fri, 31 Jul 2015 17:19:10 +0800 |
It will be used by BlockdevOptionsNBD.
Signed-off-by: Wen Congyang <address@hidden>
Signed-off-by: zhanghailiang <address@hidden>
Signed-off-by: Gonglei <address@hidden>
---
qapi-schema.json | 27 ---------------------------
qapi/common.json | 27 +++++++++++++++++++++++++++
2 files changed, 27 insertions(+), 27 deletions(-)
diff --git a/qapi-schema.json b/qapi-schema.json
index 4342a08..0ccb002 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -2537,33 +2537,6 @@
'opts': 'NetClientOptions' } }
##
-# @InetSocketAddress
-#
-# Captures a socket address or address range in the Internet namespace.
-#
-# @host: host part of the address
-#
-# @port: port part of the address, or lowest port if @to is present
-#
-# @to: highest port to try
-#
-# @ipv4: whether to accept IPv4 addresses, default try both IPv4 and IPv6
-# #optional
-#
-# @ipv6: whether to accept IPv6 addresses, default try both IPv4 and IPv6
-# #optional
-#
-# Since 1.3
-##
-{ 'struct': 'InetSocketAddress',
- 'data': {
- 'host': 'str',
- 'port': 'str',
- '*to': 'uint16',
- '*ipv4': 'bool',
- '*ipv6': 'bool' } }
-
-##
# @UnixSocketAddress
#
# Captures a socket address in the local ("Unix socket") namespace.
diff --git a/qapi/common.json b/qapi/common.json
index bad56bf..11d039a 100644
--- a/qapi/common.json
+++ b/qapi/common.json
@@ -114,3 +114,30 @@
##
{ 'enum': 'OnOffAuto',
'data': [ 'auto', 'on', 'off' ] }
+
+##
+# @InetSocketAddress
+#
+# Captures a socket address or address range in the Internet namespace.
+#
+# @host: host part of the address
+#
+# @port: port part of the address, or lowest port if @to is present
+#
+# @to: highest port to try
+#
+# @ipv4: whether to accept IPv4 addresses, default try both IPv4 and IPv6
+# #optional
+#
+# @ipv6: whether to accept IPv6 addresses, default try both IPv4 and IPv6
+# #optional
+#
+# Since 1.3
+##
+{ 'struct': 'InetSocketAddress',
+ 'data': {
+ 'host': 'str',
+ 'port': 'str',
+ '*to': 'uint16',
+ '*ipv4': 'bool',
+ '*ipv6': 'bool' } }
--
2.4.3
- [Qemu-devel] [PATCH for-2.5 0/6] qapi: child add/delete support, Wen Congyang, 2015/07/31
- [Qemu-devel] [PATCH for-2.5 1/6] QAPI: move InetSocketAddress to qapi/common.json,
Wen Congyang <=
- [Qemu-devel] [PATCH for-2.5 3/6] Add new block driver interface to add/delete a BDS's child, Wen Congyang, 2015/07/31
- [Qemu-devel] [PATCH for-2.5 2/6] support nbd driver in blockdev-add, Wen Congyang, 2015/07/31
- [Qemu-devel] [PATCH for-2.5 4/6] quorum: implement block driver interfaces add/delete a BDS's child, Wen Congyang, 2015/07/31
- [Qemu-devel] [PATCH for-2.5 5/6] qmp: add monitor command to add/remove a child, Wen Congyang, 2015/07/31
- [Qemu-devel] [PATCH for-2.5 6/6] hmp: add monitor command to add/remove a child, Wen Congyang, 2015/07/31