aboutsummaryrefslogtreecommitdiff
path: root/qapi/tpm.json
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2023-04-28 12:54:29 +0200
committerMarkus Armbruster <armbru@redhat.com>2023-05-10 10:01:01 +0200
commita937b6aa739f65f2cae2ad9a7eb65a309ad2a359 (patch)
treec11a2c7b6fc5b850ef4dd6b613902759824779a5 /qapi/tpm.json
parent059d341a67bb660a7957cb62a6a860c92c2fb64a (diff)
downloadqemu-a937b6aa739f65f2cae2ad9a7eb65a309ad2a359.zip
qemu-a937b6aa739f65f2cae2ad9a7eb65a309ad2a359.tar.gz
qemu-a937b6aa739f65f2cae2ad9a7eb65a309ad2a359.tar.bz2
qapi: Reformat doc comments to conform to current conventions
Change # @name: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed # do eiusmod tempor incididunt ut labore et dolore magna aliqua. to # @name: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed # do eiusmod tempor incididunt ut labore et dolore magna aliqua. See recent commit "qapi: Relax doc string @name: description indentation rules" for rationale. Reflow paragraphs to 70 columns width, and consistently use two spaces to separate sentences. To check the generated documentation does not change, I compared the generated HTML before and after this commit with "wdiff -3". Finds no differences. Comparing with diff is not useful, as the reflown paragraphs are visible there. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20230428105429.1687850-18-armbru@redhat.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Acked-by: Lukas Straub <lukasstraub2@web.de> [Straightforward conflicts in qapi/audio.json qapi/misc-target.json qapi/run-state.json resolved]
Diffstat (limited to 'qapi/tpm.json')
-rw-r--r--qapi/tpm.json20
1 files changed, 12 insertions, 8 deletions
diff --git a/qapi/tpm.json b/qapi/tpm.json
index eac87d3..a754455 100644
--- a/qapi/tpm.json
+++ b/qapi/tpm.json
@@ -12,7 +12,9 @@
# An enumeration of TPM models
#
# @tpm-tis: TPM TIS model
+#
# @tpm-crb: TPM CRB model (since 2.12)
+#
# @tpm-spapr: TPM SPAPR model (since 5.0)
#
# Since: 1.5
@@ -33,7 +35,6 @@
#
# -> { "execute": "query-tpm-models" }
# <- { "return": [ "tpm-tis", "tpm-crb", "tpm-spapr" ] }
-#
##
{ 'command': 'query-tpm-models', 'returns': ['TpmModel'],
'if': 'CONFIG_TPM' }
@@ -44,6 +45,7 @@
# An enumeration of TPM types
#
# @passthrough: TPM passthrough type
+#
# @emulator: Software Emulator TPM type (since 2.11)
#
# Since: 1.5
@@ -64,7 +66,6 @@
#
# -> { "execute": "query-tpm-types" }
# <- { "return": [ "passthrough", "emulator" ] }
-#
##
{ 'command': 'query-tpm-types', 'returns': ['TpmType'],
'if': 'CONFIG_TPM' }
@@ -76,8 +77,8 @@
#
# @path: string describing the path used for accessing the TPM device
#
-# @cancel-path: string showing the TPM's sysfs cancel file
-# for cancellation of TPM commands while they are executing
+# @cancel-path: string showing the TPM's sysfs cancel file for
+# cancellation of TPM commands while they are executing
#
# Since: 1.5
##
@@ -119,10 +120,14 @@
##
# @TpmTypeOptions:
#
-# A union referencing different TPM backend types' configuration options
+# A union referencing different TPM backend types' configuration
+# options
#
-# @type: - 'passthrough' The configuration options for the TPM passthrough type
-# - 'emulator' The configuration options for TPM emulator backend type
+# @type:
+# - 'passthrough' The configuration options for the TPM
+# passthrough type
+# - 'emulator' The configuration options for TPM emulator backend
+# type
#
# Since: 1.5
##
@@ -178,7 +183,6 @@
# }
# ]
# }
-#
##
{ 'command': 'query-tpm', 'returns': ['TPMInfo'],
'if': 'CONFIG_TPM' }