Linux EDAC development
 help / color / mirror / Atom feed
From: Markus Armbruster <armbru@redhat.com>
To: John Snow <jsnow@redhat.com>
Cc: qemu-devel@nongnu.org,
	"Richard Henderson" <richard.henderson@linaro.org>,
	linux-edac@vger.kernel.org,
	"Mauro Carvalho Chehab" <mchehab+huawei@kernel.org>,
	"Alex Williamson" <alex@shazbot.org>,
	"Paolo Bonzini" <pbonzini@redhat.com>,
	"zhenwei pi" <zhenwei.pi@linux.dev>,
	"Gonglei (Arei)" <arei.gonglei@huawei.com>,
	"Daniel P. Berrangé" <berrange@redhat.com>,
	"Philippe Mathieu-Daudé" <philmd@mailo.com>,
	"Eric Blake" <eblake@redhat.com>,
	"Cédric Le Goater" <clg@redhat.com>,
	"Alex Bennée" <alex.bennee@linaro.org>,
	"Zhao Liu" <zhao1.liu@intel.com>,
	"Lukas Straub" <lukasstraub2@web.de>,
	"Stefan Hajnoczi" <stefanha@redhat.com>
Subject: Re: [PATCH 00/14] qapi: convert to explicit intro section syntax
Date: Wed, 15 Jul 2026 16:19:47 +0200	[thread overview]
Message-ID: <87ik6ggwsc.fsf@pond.sub.org> (raw)
In-Reply-To: <CAFn=p-Yu9OV0LJN8rGrc6GTkJZ38XAvP296tfwBxU6CnhLYR7A@mail.gmail.com> (John Snow's message of "Mon, 13 Jul 2026 16:34:07 -0400")

John Snow <jsnow@redhat.com> writes:

> On Mon, Jul 13, 2026 at 9:00 AM Markus Armbruster <armbru@redhat.com> wrote:
>>
>> John Snow <jsnow@redhat.com> writes:
>>
>> > GitLab CI: https://gitlab.com/jsnow/qemu/-/pipelines/2638342206
>> >
>> > Hi, this patchset converts some of the most trivial modules to use the
>> > new explicit intro syntax. This particular patchset does not
>> > differentiate between "trivial" conversions and those that take
>> > slightly more liberty in refactoring, but there are (debatably?) no
>> > such cases in this patchset.
>>
>> Looks entirely mechanical to me.  Am I missing anything?
>
> Honest answer: I am not sure; I have edited so many QAPI files that I
> cannot remember what is and what is not mechanical anymore. If there
> are instances of "non-mechanical" changes, it would be for cases where
> I decide to indent some paragraphs, but not others, effectively
> introducing a new split as to what appears before and what appears
> after the tabular data.
>
> I genuinely do not recall if there are any such cases in this mini-series.

It's only mostly mechanical.

Almost always, the patches change

  ##
  # @name:
  #
  # Single plain paragraph: Lorem ipsum dolor sit amet ut enim ad minim
  # veniam duis aute irure dolor.
  #
  # Something other than a plain paragraph

to

  ##
  # @name:
  #     Single plain paragraph: Lorem ipsum dolor sit amet ut enim ad
  #     minim veniam duis aute irure dolor.
  #
  # Something other than a plain paragraph

No decisions, thus mechanical.

I found two exceptions:

1. In qapi/compat.json

    @@ -39,8 +37,7 @@

     ##
     # @CompatPolicy:
    -#
    -# Policy for handling deprecated management interfaces.
    +#     Policy for handling deprecated management interfaces.
     #
     # This is intended for testing users of the management interfaces.
     #
     # Limitation: covers only syntactic aspects of QMP, i.e. stuff tagged
     # with feature 'deprecated' or 'unstable'.  We may want to extend it
     # to cover semantic aspects and CLI.
     #
     # Limitation: deprecated-output policy @hide is not implemented for
     # enumeration values.  They behave the same as with policy @accept.
     #
     # @deprecated-input: how to handle deprecated input (default 'accept')
     #
     # @deprecated-output: how to handle deprecated output (default
     #     'accept')
     #
     # @unstable-input: how to handle unstable input (default 'accept')
     #     (since 6.2)
     #
     # @unstable-output: how to handle unstable output (default 'accept')
     #     (since 6.2)
     #
     # Since: 6.0
     ##

   Here, we have multiple paragraphs, and only the first one becomes
   "intro".

2. In qapi/misc-arm.json

    @@ -29,9 +28,8 @@

     ##
     # @query-gic-capabilities:
    -#
    -# It will return a list of `GICCapability` objects that describe its
    -# capability bits.
    +#     It will return a list of `GICCapability` objects that describe
    +#     its capability bits.
     #
     # On non-ARM targets this command will report an error as the GIC
     # technology is not applicable.
     #
     # Since: 2.6
     #
     # .. qmp-example::
     #
     #     -> { "execute": "query-gic-capabilities" }
     #     <- { "return": [{ "version": 2, "emulated": true, "kernel": false },
     #                     { "version": 3, "emulated": false, "kernel": true } ] }
     ##

   Here, we have two paragraphs, and both become "intro".


      reply	other threads:[~2026-07-15 14:19 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-29 21:36 [PATCH 00/14] qapi: convert to explicit intro section syntax John Snow
2026-06-29 21:36 ` [PATCH 01/14] qapi: convert intro sections for error.json John Snow
2026-06-29 21:36 ` [PATCH 02/14] qapi: convert intro sections for acpi-hest.json John Snow
2026-06-29 21:36 ` [PATCH 03/14] qapi: convert intro sections for ebpf.json John Snow
2026-06-29 21:36 ` [PATCH 04/14] qapi: convert intro sections for uefi.json John Snow
2026-06-29 21:36 ` [PATCH 05/14] qapi: convert intro sections for compat.json John Snow
2026-06-29 21:36 ` [PATCH 06/14] qapi: convert intro sections for vfio.json John Snow
2026-06-29 21:36 ` [PATCH 07/14] qapi: convert intro sections for trace.json John Snow
2026-06-29 21:36 ` [PATCH 08/14] qapi: convert intro sections for misc-arm.json John Snow
2026-06-29 21:36 ` [PATCH 09/14] qapi: convert intro sections for cryptodev.json John Snow
2026-06-29 21:36 ` [PATCH 10/14] qapi: convert intro sections for machine-common.json John Snow
2026-06-29 21:36 ` [PATCH 11/14] qapi: convert intro sections for accelerator.json John Snow
2026-06-29 21:36 ` [PATCH 12/14] qapi: convert intro sections for authz.json John Snow
2026-06-29 21:36 ` [PATCH 13/14] qapi: convert intro sections for yank.json John Snow
2026-06-29 21:59   ` Lukas Straub
2026-06-29 21:36 ` [PATCH 14/14] qapi: convert intro sections for replay.json John Snow
2026-06-29 23:07 ` [PATCH 00/14] qapi: convert to explicit intro section syntax Borislav Petkov
2026-06-30  8:27   ` Daniel P. Berrangé
2026-06-30 19:21     ` Borislav Petkov
2026-07-03 15:25       ` [PATCH] MAINTAINERS: Remove linux-edac Borislav Petkov
2026-07-07  7:51         ` Mauro Carvalho Chehab
2026-07-13 12:59 ` [PATCH 00/14] qapi: convert to explicit intro section syntax Markus Armbruster
2026-07-13 20:34   ` John Snow
2026-07-15 14:19     ` Markus Armbruster [this message]

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=87ik6ggwsc.fsf@pond.sub.org \
    --to=armbru@redhat.com \
    --cc=alex.bennee@linaro.org \
    --cc=alex@shazbot.org \
    --cc=arei.gonglei@huawei.com \
    --cc=berrange@redhat.com \
    --cc=clg@redhat.com \
    --cc=eblake@redhat.com \
    --cc=jsnow@redhat.com \
    --cc=linux-edac@vger.kernel.org \
    --cc=lukasstraub2@web.de \
    --cc=mchehab+huawei@kernel.org \
    --cc=pbonzini@redhat.com \
    --cc=philmd@mailo.com \
    --cc=qemu-devel@nongnu.org \
    --cc=richard.henderson@linaro.org \
    --cc=stefanha@redhat.com \
    --cc=zhao1.liu@intel.com \
    --cc=zhenwei.pi@linux.dev \
    /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