From: Markus Armbruster Date: Thu, 11 Jul 2024 11:22:26 +0000 (+0200) Subject: qapi/machine: Clarify query-uuid value when none has been specified X-Git-Tag: v9.1.0-rc0~28^2~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dd950220c08938e14abb0357107ca8500cb913c9;p=thirdparty%2Fqemu.git 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 Message-ID: <20240711112228.2140606-4-armbru@redhat.com> Reviewed-by: Michael S. Tsirkin Reviewed-by: John Snow [Wording improved, commit message adjusted] Reviewed-by: Philippe Mathieu-Daudé --- diff --git a/qapi/machine.json b/qapi/machine.json index 50ff102d56d..eb2fd01e959 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'} }