aboutsummaryrefslogtreecommitdiff
path: root/qapi
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2022-05-10 10:14:33 +0200
committerMarkus Armbruster <armbru@redhat.com>2022-05-16 07:31:26 +0200
commitdd8f0f332f34a2466d855d1067386b04ff2eb6d9 (patch)
tree805582ba5aa44d7ef57b9e5417458a143f188906 /qapi
parent1524559f58b1fe14e9b1c9b5be09a82696867eb1 (diff)
qapi/pragma: Tidy up comments
Commit 05ebf841ef "qapi: Enforce command naming rules" inserted new code between a comment and the code it applies to. Move the comment back to its code, and add one for the new code. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20220510081433.3289762-1-armbru@redhat.com>
Diffstat (limited to 'qapi')
-rw-r--r--qapi/pragma.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/qapi/pragma.json b/qapi/pragma.json
index e6a021c19c..7f810b0e97 100644
--- a/qapi/pragma.json
+++ b/qapi/pragma.json
@@ -6,7 +6,7 @@
# Whitelists to permit QAPI rule violations; think twice before you
# add to them!
{ 'pragma': {
- # Commands allowed to return a non-dictionary:
+ # Command names containing '_'
'command-name-exceptions': [
'add_client',
'block_resize',
@@ -24,6 +24,7 @@
'system_powerdown',
'system_reset',
'system_wakeup' ],
+ # Commands allowed to return a non-dictionary
'command-returns-exceptions': [
'human-monitor-command',
'qom-get',