aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2025-07-08 09:28:28 +0200
committerMarkus Armbruster <armbru@redhat.com>2025-07-14 10:13:30 +0200
commit92227370eb3d844528e6d7bc2fb42525d8245eaf (patch)
tree96b659299162c1a246ff6ee2d09457a438b14b68
parentc13ceeb42df5452690fc530269696f59da921b31 (diff)
downloadqemu-92227370eb3d844528e6d7bc2fb42525d8245eaf.zip
qemu-92227370eb3d844528e6d7bc2fb42525d8245eaf.tar.gz
qemu-92227370eb3d844528e6d7bc2fb42525d8245eaf.tar.bz2
qapi: Clean up a few Errors: sections
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>
-rw-r--r--qapi/misc-i386.json7
-rw-r--r--qapi/qom.json4
2 files changed, 5 insertions, 6 deletions
diff --git a/qapi/misc-i386.json b/qapi/misc-i386.json
index b53ed39..24a2e14 100644
--- a/qapi/misc-i386.json
+++ b/qapi/misc-i386.json
@@ -283,10 +283,9 @@
# 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
#
diff --git a/qapi/qom.json b/qapi/qom.json
index 6c38e86..fbf94b9 100644
--- a/qapi/qom.json
+++ b/qapi/qom.json
@@ -1261,7 +1261,7 @@
# 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
#
@@ -1283,7 +1283,7 @@
# @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
#