Skip to content

Commit a9e2eb0

Browse files
jnsnowMarkus Armbruster
authored and
Markus Armbruster
committedOct 2, 2021
qapi: Add spaces after symbol declaration for consistency
Several QGA definitions omit a blank line after the symbol declaration. This works OK currently, but it's the only place where we do this. Adjust it for consistency. Future commits may wind up enforcing this formatting. Signed-off-by: John Snow <jsnow@redhat.com> Message-Id: <20210930205716.1148693-5-jsnow@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
1 parent 012336a commit a9e2eb0

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed
 

‎qapi/block-core.json

+1
Original file line numberDiff line numberDiff line change
@@ -3132,6 +3132,7 @@
31323132

31333133
##
31343134
# @BlockdevQcow2EncryptionFormat:
3135+
#
31353136
# @aes: AES-CBC with plain64 initialization vectors
31363137
#
31373138
# Since: 2.10

‎qga/qapi-schema.json

+3
Original file line numberDiff line numberDiff line change
@@ -1140,6 +1140,7 @@
11401140

11411141
##
11421142
# @GuestExec:
1143+
#
11431144
# @pid: pid of child process in guest OS
11441145
#
11451146
# Since: 2.5
@@ -1171,6 +1172,7 @@
11711172

11721173
##
11731174
# @GuestHostName:
1175+
#
11741176
# @host-name: Fully qualified domain name of the guest OS
11751177
#
11761178
# Since: 2.10
@@ -1197,6 +1199,7 @@
11971199

11981200
##
11991201
# @GuestUser:
1202+
#
12001203
# @user: Username
12011204
# @domain: Logon domain (windows only)
12021205
# @login-time: Time of login of this user on the computer. If multiple

‎tests/qapi-schema/doc-good.json

+8
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353

5454
##
5555
# @Enum:
56+
#
5657
# @one: The _one_ {and only}
5758
#
5859
# Features:
@@ -67,6 +68,7 @@
6768

6869
##
6970
# @Base:
71+
#
7072
# @base1:
7173
# the first member
7274
##
@@ -75,6 +77,7 @@
7577

7678
##
7779
# @Variant1:
80+
#
7881
# A paragraph
7982
#
8083
# Another paragraph (but no @var: line)
@@ -91,11 +94,13 @@
9194

9295
##
9396
# @Variant2:
97+
#
9498
##
9599
{ 'struct': 'Variant2', 'data': {} }
96100

97101
##
98102
# @Object:
103+
#
99104
# Features:
100105
# @union-feat1: a feature
101106
##
@@ -109,6 +114,7 @@
109114

110115
##
111116
# @Alternate:
117+
#
112118
# @i: an integer
113119
# @b is undocumented
114120
#
@@ -126,6 +132,7 @@
126132

127133
##
128134
# @cmd:
135+
#
129136
# @arg1: the first argument
130137
#
131138
# @arg2: the second
@@ -175,6 +182,7 @@
175182

176183
##
177184
# @EVT_BOXED:
185+
#
178186
# Features:
179187
# @feat3: a feature
180188
##

0 commit comments

Comments
 (0)
Please sign in to comment.