qapi: Random small fixes
cover qapi: Random small fixes
Andrea Bolognani (3):
docs: qapi: Remove outdated reference to simple unions
qapi: Fix documentation for query-xen-replication-status
qapi: Fix typo
docs/devel/qapi-code-gen.rst | 4 ++-- qapi/migration.json | 2 +- qapi/sockets.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-)
Signature · 1 line
2.35.1
PATCH 1/3 docs: qapi: Remove outdated reference to simple unions
Commit 4e99f4b12c0e dropped simple unions and updated most documentation accordingly, but in one case we still claim that there are "two flavors of unions".
Signed-off-by Andrea Bolognani <[email protected]>
--- docs/devel/qapi-code-gen.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
docs/devel/qapi-code-gen.rst +2 -2
@@ -41,8 +41,8 @@ used internally. There are several kinds of types: simple types (a number of built-in types, such as ``int`` and ``str``; as well as enumerations), arrays, -complex types (structs and two flavors of unions), and alternate types -(a choice between other types). +complex types (structs and unions), and alternate types (a choice +between other types). Schema syntax
Signature · 1 line
2.35.1
PATCH 2/3 qapi: Fix documentation for query-xen-replication-status
In reply to Andrea BolognaniThe correct return type is ReplicationStatus, not
ReplicationResult.
Signed-off-by Andrea Bolognani <[email protected]>
--- qapi/migration.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
qapi/migration.json +1 -1
@@ -1619,7 +1619,7 @@ # # Query replication status while the vm is running. # -# Returns: A @ReplicationResult object showing the status. +# Returns: A @ReplicationStatus object showing the status. # # Example: #
Signature · 1 line
2.35.1
Re: [PATCH 2/3] qapi: Fix documentation for query-xen-replication-status
Quoted 4 lines · * Andrea Bolognani ([email protected]) wrote:
The correct return type is ReplicationStatus, not
ReplicationResult.Signed-off-by Andrea Bolognani <[email protected]>
Hmm yes I think that's right.
Reviewed-by Dr. David Alan Gilbert <[email protected]>
Quoted 20 lines
--- qapi/migration.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)qapi/migration.json +1
-1@@ -1619,7 +1619,7 @@ # # Query replication status while the vm is running. # -# Returns: A @ReplicationResult object showing the status. +# Returns: A @ReplicationStatus object showing the status. # # Example: #Signature · 1 line
2.35.1
Signature · 1 line
Dr. David Alan Gilbert / [email protected] / Manchester, UK
PATCH 3/3 qapi: Fix typo
In reply to Andrea BolognaniSigned-off-by Andrea Bolognani <[email protected]>
--- qapi/sockets.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
qapi/sockets.json +1 -1
@@ -149,7 +149,7 @@ # # Note: This type is deprecated in favor of SocketAddress. The # difference between SocketAddressLegacy and SocketAddress is that the -# latter is has fewer {} on the wire. +# latter has fewer {} on the wire. # # Since: 1.3 ##
Signature · 1 line
2.35.1