]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
qapi/machine: Clarify query-uuid value when none has been specified
authorMarkus Armbruster <armbru@redhat.com>
Thu, 11 Jul 2024 11:22:26 +0000 (13:22 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Wed, 17 Jul 2024 08:15:04 +0000 (10:15 +0200)
When no UUID has been specified, query-uuid returns

    {"UUID": "00000000-0000-0000-0000-000000000000"}

The doc comment calls this "a null UUID", which I find less than
clear.  RFC 9562 calls it "the nil UUID (all zeroes)", so use that
instead.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20240711112228.2140606-4-armbru@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
[Wording improved, commit message adjusted]
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
qapi/machine.json

index 50ff102d56d6bb736fb694eaac876eb0e5f291b4..eb2fd01e959c189a26e4113c150fa36d241bc007 100644 (file)
 #
 # Since: 0.14
 #
-# .. note:: If no UUID was specified for the guest, a null UUID is
-#    returned.
-#
+# .. note:: If no UUID was specified for the guest, the nil UUID (all
+#    zeroes) is returned.
 ##
 { 'struct': 'UuidInfo', 'data': {'UUID': 'str'} }