aboutsummaryrefslogtreecommitdiff
path: root/qapi/common.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/common.json
parent059d341a67bb660a7957cb62a6a860c92c2fb64a (diff)
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/common.json')
-rw-r--r--qapi/common.json19
1 files changed, 10 insertions, 9 deletions
diff --git a/qapi/common.json b/qapi/common.json
index 356db3f670..6fed9cde1a 100644
--- a/qapi/common.json
+++ b/qapi/common.json
@@ -70,6 +70,7 @@
# has a different meaning.
#
# @s: the string value
+#
# @n: no string value
#
# Since: 2.10
@@ -155,11 +156,11 @@
#
# @preferred: set the preferred host nodes for allocation
#
-# @bind: a strict policy that restricts memory allocation to the
-# host nodes specified
+# @bind: a strict policy that restricts memory allocation to the host
+# nodes specified
#
-# @interleave: memory allocations are interleaved across the set
-# of host nodes specified
+# @interleave: memory allocations are interleaved across the set of
+# host nodes specified
#
# Since: 2.1
##
@@ -169,17 +170,17 @@
##
# @NetFilterDirection:
#
-# Indicates whether a netfilter is attached to a netdev's transmit queue or
-# receive queue or both.
+# Indicates whether a netfilter is attached to a netdev's transmit
+# queue or receive queue or both.
#
# @all: the filter is attached both to the receive and the transmit
-# queue of the netdev (default).
+# queue of the netdev (default).
#
# @rx: the filter is attached to the receive queue of the netdev,
-# where it will receive packets sent to the netdev.
+# where it will receive packets sent to the netdev.
#
# @tx: the filter is attached to the transmit queue of the netdev,
-# where it will receive packets sent by the netdev.
+# where it will receive packets sent by the netdev.
#
# Since: 2.5
##