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>
This commit is contained in:
Markus Armbruster 2022-05-10 10:14:33 +02:00
parent 1524559f58
commit dd8f0f332f

View File

@ -6,7 +6,7 @@
# Whitelists to permit QAPI rule violations; think twice before you # Whitelists to permit QAPI rule violations; think twice before you
# add to them! # add to them!
{ 'pragma': { { 'pragma': {
# Commands allowed to return a non-dictionary: # Command names containing '_'
'command-name-exceptions': [ 'command-name-exceptions': [
'add_client', 'add_client',
'block_resize', 'block_resize',
@ -24,6 +24,7 @@
'system_powerdown', 'system_powerdown',
'system_reset', 'system_reset',
'system_wakeup' ], 'system_wakeup' ],
# Commands allowed to return a non-dictionary
'command-returns-exceptions': [ 'command-returns-exceptions': [
'human-monitor-command', 'human-monitor-command',
'qom-get', 'qom-get',