diff options
author | Markus Armbruster <armbru@redhat.com> | 2024-07-11 13:22:26 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2024-07-17 10:15:04 +0200 |
commit | dd950220c08938e14abb0357107ca8500cb913c9 (patch) | |
tree | 320342b35c318cb951f705e20f80be60e673ea5e | |
parent | d07f0efcbca66178d42f8c9c4f624e9de517100a (diff) | |
download | qemu-dd950220c08938e14abb0357107ca8500cb913c9.zip qemu-dd950220c08938e14abb0357107ca8500cb913c9.tar.gz qemu-dd950220c08938e14abb0357107ca8500cb913c9.tar.bz2 |
qapi/machine: Clarify query-uuid value when none has been specified
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>
-rw-r--r-- | qapi/machine.json | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/qapi/machine.json b/qapi/machine.json index 50ff102..eb2fd01 100644 --- a/qapi/machine.json +++ b/qapi/machine.json @@ -305,9 +305,8 @@ # # 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'} } |