]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
qapi/sockets: Move deprecation note out of SocketAddress doc comment
authorMarkus Armbruster <armbru@redhat.com>
Thu, 11 Jul 2024 11:22:27 +0000 (13:22 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Wed, 17 Jul 2024 08:15:04 +0000 (10:15 +0200)
Doc comments are reference documentation for users of QMP.
SocketAddress's doc comment contains a deprecation note advising
developers to use SocketAddress for new code.  Irrelevant for users of
QMP.  Move the note out of the doc comment.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20240711112228.2140606-5-armbru@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
qapi/sockets.json

index 4d78d2ccb77c5477cd7f923ccbaa3a47a3c2d027..e76fdb992531f8ca8bfee1a6136f914b023a5cad 100644 (file)
 #
 # @type: Transport type
 #
-# .. note:: This type is deprecated in favor of SocketAddress.  The
-#    difference between SocketAddressLegacy and SocketAddress is that
-#    the latter has fewer ``{}`` on the wire.
-#
 # Since: 1.3
 ##
 { 'union': 'SocketAddressLegacy',
     'unix': 'UnixSocketAddressWrapper',
     'vsock': 'VsockSocketAddressWrapper',
     'fd': 'FdSocketAddressWrapper' } }
+# Note: This type is deprecated in favor of SocketAddress.  The
+# difference between SocketAddressLegacy and SocketAddress is that the
+# latter has fewer ``{}`` on the wire.
 
 ##
 # @SocketAddressType: