From: Markus Armbruster <armbru@redhat.com>
To: Zhang Chen <zhangckid@gmail.com>
Cc: qemu-devel <qemu-devel@nongnu.org>,
"Dr . David Alan Gilbert" <dave@treblig.org>,
Eric Blake <eblake@redhat.com>,
qemu-stable@nongnu.org
Subject: Re: [PATCH V2 1/4] qapi/misc: Fix missed query-iothreads items
Date: Fri, 23 Jan 2026 13:51:29 +0100 [thread overview]
Message-ID: <871pjgbige.fsf@pond.sub.org> (raw)
In-Reply-To: <20260121064110.28760-1-zhangckid@gmail.com> (Zhang Chen's message of "Wed, 21 Jan 2026 14:41:07 +0800")
Zhang Chen <zhangckid@gmail.com> writes:
> The example is incomplete: it misses members @poll-max-ns, @poll-grow,
> @poll-shrink, @aio-max-batch. Messed up in commit 5fc00480ab1
> (monitor: add poll-* properties into query-iothreads result) and
> commit 1793ad0247c (iothread: add aio-max-batch parameter).
>
> cc: qemu-stable@nongnu.org
>
> Signed-off-by: Zhang Chen <zhangckid@gmail.com>
> ---
> qapi/misc.json | 12 ++++++++++--
> 1 file changed, 10 insertions(+), 2 deletions(-)
>
> diff --git a/qapi/misc.json b/qapi/misc.json
> index 28c641fe2f..e87994c9d9 100644
> --- a/qapi/misc.json
> +++ b/qapi/misc.json
> @@ -117,11 +117,19 @@
> # <- { "return": [
> # {
> # "id":"iothread0",
> -# "thread-id":3134
> +# "thread-id":3134,
> +# 'poll-max-ns':32768,
Double quotes, please.
> +# "poll-grow":0,
> +# "poll-shrink":0,
> +# "aio-max-batch":0
> # },
> # {
> # "id":"iothread1",
> -# "thread-id":3135
> +# "thread-id":3135,
> +# 'poll-max-ns':32768,
Likewise.
> +# "poll-grow":0,
> +# "poll-shrink":0,
> +# "aio-max-batch":0
> # }
> # ]
> # }
Easiest way to avoid such mistakes is to copy actual QMP output.
next prev parent reply other threads:[~2026-01-23 12:53 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-21 6:41 [PATCH V2 1/4] qapi/misc: Fix missed query-iothreads items Zhang Chen
2026-01-21 6:41 ` [PATCH V2 2/4] iothread: Introduce a new flag to show iothreads attached status Zhang Chen
2026-01-21 6:41 ` [PATCH V2 3/4] qapi: Add attached flag for iothread Zhang Chen
2026-01-23 12:57 ` Markus Armbruster
2026-01-21 6:41 ` [PATCH V2 4/4] qemu-options: Introduce new " Zhang Chen
2026-01-23 13:04 ` Markus Armbruster
2026-01-23 12:51 ` Markus Armbruster [this message]
2026-01-24 13:48 ` [PATCH V2 1/4] qapi/misc: Fix missed query-iothreads items Zhang Chen
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=871pjgbige.fsf@pond.sub.org \
--to=armbru@redhat.com \
--cc=dave@treblig.org \
--cc=eblake@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-stable@nongnu.org \
--cc=zhangckid@gmail.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.