QAPI patches for 2025-08-09
-----BEGIN PGP SIGNATURE----- iQJGBAABCAAwFiEENUvIs9frKmtoZ05fOHC0AOuRhlMFAmiW4TgSHGFybWJydUBy ZWRoYXQuY29tAAoJEDhwtADrkYZTuQEP+waO/E590BU0LIBUoZZbi5/xYY0mavtn oMn7dtJZGdjV4c247/YghuwhVvPTmNdPsTTsvf1T/Q1SSXmuAgW3vTtsaG/NzbBy gJMkvjNOBN5ihI+3cIDC95w8l1e93Wg6YcHsPKQh/NYoBSoy5Kk+QJctcO2Y1R66 f/9rxaVBAjnWEmCGrP9acJnsTvxWIwmk+E6ABhlt24DCYG1Wjp8CgTrLqveqi8Fx lmhVF0XuHgnkwsItj6mnSAnj60SVQjT6F7iaAO8L+4UxHhO+LzXIQiTjdgBHppfJ llakFeFLKDulBvRnsnxxrT1CkO1apMfrNkua8JCwHzQAxikuhhkgV1QTIlXQXa7A hBE/5VQ5Jev+W6rzM6hmYl0HByKjKB23bQK7j8m8logV9OJCw+1Scsn2kgFX7rWL PLIyp63auXnt+vX29+T80KYu+qGi4o9BcQIr44myq/nIuAgcE7eEz7r6y0N66OiQ cvShDvd9YO0v8JtPbtUZAeUEyjLOEiYaExBJIAY98r0XFtxlroT8C7o8kjYlQX1K K5mv1Xs9y4J8kgxRjveYDosFbJAW4EOkypDc1tV50WV7f83kHRFUx340u+pnX3AI vmB/2KIftlt3bDVbJrJkWdbNshJyG4YBsfkzi7WScn/2BnpboNNzk8yKKkGOxrOl NQ3QQbUj4Gid =RYBV -----END PGP SIGNATURE----- Merge tag 'pull-qapi-2025-08-09' of https://repo.or.cz/qemu/armbru into staging QAPI patches for 2025-08-09 # -----BEGIN PGP SIGNATURE----- # # iQJGBAABCAAwFiEENUvIs9frKmtoZ05fOHC0AOuRhlMFAmiW4TgSHGFybWJydUBy # ZWRoYXQuY29tAAoJEDhwtADrkYZTuQEP+waO/E590BU0LIBUoZZbi5/xYY0mavtn # oMn7dtJZGdjV4c247/YghuwhVvPTmNdPsTTsvf1T/Q1SSXmuAgW3vTtsaG/NzbBy # gJMkvjNOBN5ihI+3cIDC95w8l1e93Wg6YcHsPKQh/NYoBSoy5Kk+QJctcO2Y1R66 # f/9rxaVBAjnWEmCGrP9acJnsTvxWIwmk+E6ABhlt24DCYG1Wjp8CgTrLqveqi8Fx # lmhVF0XuHgnkwsItj6mnSAnj60SVQjT6F7iaAO8L+4UxHhO+LzXIQiTjdgBHppfJ # llakFeFLKDulBvRnsnxxrT1CkO1apMfrNkua8JCwHzQAxikuhhkgV1QTIlXQXa7A # hBE/5VQ5Jev+W6rzM6hmYl0HByKjKB23bQK7j8m8logV9OJCw+1Scsn2kgFX7rWL # PLIyp63auXnt+vX29+T80KYu+qGi4o9BcQIr44myq/nIuAgcE7eEz7r6y0N66OiQ # cvShDvd9YO0v8JtPbtUZAeUEyjLOEiYaExBJIAY98r0XFtxlroT8C7o8kjYlQX1K # K5mv1Xs9y4J8kgxRjveYDosFbJAW4EOkypDc1tV50WV7f83kHRFUx340u+pnX3AI # vmB/2KIftlt3bDVbJrJkWdbNshJyG4YBsfkzi7WScn/2BnpboNNzk8yKKkGOxrOl # NQ3QQbUj4Gid # =RYBV # -----END PGP SIGNATURE----- # gpg: Signature made Sat 09 Aug 2025 01:48:40 EDT # gpg: using RSA key 354BC8B3D7EB2A6B68674E5F3870B400EB918653 # gpg: issuer "armbru@redhat.com" # gpg: Good signature from "Markus Armbruster <armbru@redhat.com>" [full] # gpg: aka "Markus Armbruster <armbru@pond.sub.org>" [full] # Primary key fingerprint: 354B C8B3 D7EB 2A6B 6867 4E5F 3870 B400 EB91 8653 * tag 'pull-qapi-2025-08-09' of https://repo.or.cz/qemu/armbru: docs/devel/qapi-code-gen: Update cross-reference syntax docs/devel/qapi-code-gen: Fix typos in QAPI schema language grammar docs/devel/qapi-code-gen: Add two cross-references we missed Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
commit
4f50fa9391
2 changed files with 13 additions and 7 deletions
|
|
@ -646,9 +646,9 @@ Member 'event' names the event. This is the event name used in the
|
|||
Client JSON Protocol.
|
||||
|
||||
Member 'data' defines the event-specific data. It defaults to an
|
||||
empty MEMBERS object.
|
||||
empty MEMBERS_ object.
|
||||
|
||||
If 'data' is a MEMBERS object, then MEMBERS defines event-specific
|
||||
If 'data' is a MEMBERS_ object, then MEMBERS defines event-specific
|
||||
data just like a struct type's 'data' defines struct type members.
|
||||
|
||||
If 'data' is a STRING, then STRING names a complex type whose members
|
||||
|
|
@ -786,8 +786,8 @@ Configuring the schema
|
|||
Syntax::
|
||||
|
||||
COND = STRING
|
||||
| { 'all: [ COND, ... ] }
|
||||
| { 'any: [ COND, ... ] }
|
||||
| { 'all': [ COND, ... ] }
|
||||
| { 'any': [ COND, ... ] }
|
||||
| { 'not': COND }
|
||||
|
||||
All definitions take an optional 'if' member. Its value must be a
|
||||
|
|
@ -943,9 +943,14 @@ The usual ****strong****, *\*emphasized\** and ````literal```` markup
|
|||
should be used. If you need a single literal ``*``, you will need to
|
||||
backslash-escape it.
|
||||
|
||||
Use ``@foo`` to reference a name in the schema. This is an rST
|
||||
extension. It is rendered the same way as ````foo````, but carries
|
||||
additional meaning.
|
||||
Use ```foo``` to reference a definition in the schema. This generates
|
||||
a link to the definition. In the event that such a cross-reference is
|
||||
ambiguous, you can use `QAPI cross-reference roles
|
||||
<QAPI-domain-cross-references>` to disambiguate.
|
||||
|
||||
Use @foo to reference a member description within the current
|
||||
definition. This is an rST extension. It is currently rendered the
|
||||
same way as ````foo````, but carries additional meaning.
|
||||
|
||||
Example::
|
||||
|
||||
|
|
|
|||
|
|
@ -375,6 +375,7 @@ Will allow you to add arbitrary field lists in QAPI directives::
|
|||
|
||||
:see also: Lorem ipsum, dolor sit amet ...
|
||||
|
||||
.. _QAPI-domain-cross-references:
|
||||
|
||||
Cross-references
|
||||
================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue