* [PATCH] qapi/pragma: Tidy up comments
@ 2022-05-10 8:14 Markus Armbruster
2022-05-16 5:47 ` Markus Armbruster
0 siblings, 1 reply; 2+ messages in thread
From: Markus Armbruster @ 2022-05-10 8:14 UTC (permalink / raw)
To: qemu-devel; +Cc: michael.roth, eblake
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>
---
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.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] qapi/pragma: Tidy up comments
2022-05-10 8:14 [PATCH] qapi/pragma: Tidy up comments Markus Armbruster
@ 2022-05-16 5:47 ` Markus Armbruster
0 siblings, 0 replies; 2+ messages in thread
From: Markus Armbruster @ 2022-05-16 5:47 UTC (permalink / raw)
To: qemu-devel; +Cc: michael.roth, eblake
Markus Armbruster <armbru@redhat.com> writes:
> 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>
Queued.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-05-16 5:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-10 8:14 [PATCH] qapi/pragma: Tidy up comments Markus Armbruster
2022-05-16 5:47 ` Markus Armbruster
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).