From: Markus Armbruster <armbru@redhat.com>
To: qemu-devel@nongnu.org
Cc: richard.henderson@linaro.org
Subject: [PULL 11/11] qapi/pragma: Tidy up comments
Date: Mon, 16 May 2022 09:35:22 +0200 [thread overview]
Message-ID: <20220516073522.3880774-12-armbru@redhat.com> (raw)
In-Reply-To: <20220516073522.3880774-1-armbru@redhat.com>
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>
---
qapi/pragma.json | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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',
--
2.35.3
next prev parent reply other threads:[~2022-05-16 7:44 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-16 7:35 [PULL 00/11] QAPI patches patches for 2022-05-16 Markus Armbruster
2022-05-16 7:35 ` [PULL 01/11] qapi: Fix malformed "Since:" section tags Markus Armbruster
2022-05-16 7:35 ` [PULL 02/11] qapi: Drop stray trailing symbol Markus Armbruster
2022-05-16 7:35 ` [PULL 03/11] qapi: Fix comment indentation Markus Armbruster
2022-05-16 7:35 ` [PULL 04/11] qapi: Add missing separators between sections Markus Armbruster
2022-05-16 7:35 ` [PULL 05/11] qapi: Drop unnecessary empty lines in comments Markus Armbruster
2022-05-16 7:35 ` [PULL 06/11] qapi: Drop unnecessary empty lines outside of comments Markus Armbruster
2022-05-16 7:35 ` [PULL 07/11] qapi: Drop unnecessary whitespace in comments Markus Armbruster
2022-05-16 7:35 ` [PULL 08/11] qapi: Stop using whitespace for alignment " Markus Armbruster
2022-05-16 7:35 ` [PULL 09/11] qapi/expr: Enforce feature naming rules again Markus Armbruster
2022-05-16 7:35 ` [PULL 10/11] docs/devel/qapi-code-gen: Belatedly document feature naming rules Markus Armbruster
2022-05-16 7:35 ` Markus Armbruster [this message]
2022-05-16 16:48 ` [PULL 00/11] QAPI patches patches for 2022-05-16 Richard Henderson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220516073522.3880774-12-armbru@redhat.com \
--to=armbru@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=richard.henderson@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).