]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
qapi: Clean up a few Errors: sections
authorMarkus Armbruster <armbru@redhat.com>
Tue, 8 Jul 2025 07:28:28 +0000 (09:28 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Mon, 14 Jul 2025 08:13:30 +0000 (10:13 +0200)
Use the conventional "- If <error-condition>" phrasing, optionally
with ", <error-class>".

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20250708072828.105185-3-armbru@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
qapi/misc-i386.json
qapi/qom.json

index b53ed392884e855d1eff5d4d4325a9e9d982fc19..24a2e143f6c4032087acd8ca915f92c25e693c35 100644 (file)
 # Returns: SevAttestationReport objects.
 #
 # Errors:
-#     - This will return an error if the attestation report is
-#       unavailable, either due to an invalid guest configuration
-#       or if the guest has not reached the required SEV state,
-#       GenericError
+#     - If the attestation report is unavailable, either due to an
+#       invalid guest configuration or because the guest has not
+#       reached the required SEV state, GenericError
 #
 # Since: 6.1
 #
index 6c38e865a6b13f03696c38fcbdd625bc3b770395..fbf94b9e09d2010c639134457189173211e671ad 100644 (file)
 # Create a QOM object.
 #
 # Errors:
-#     - Error if @qom-type is not a valid class name
+#     - If @qom-type is not a valid class name
 #
 # Since: 2.0
 #
 # @id: the name of the QOM object to remove
 #
 # Errors:
-#     - Error if @id is not a valid id for a QOM object
+#     - If @id is not a valid id for a QOM object
 #
 # Since: 2.0
 #