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>
Subject: Re: [PATCH 1/3] qapi/misc: Fix missed query-iothreads items
Date: Thu, 08 Jan 2026 13:06:39 +0100 [thread overview]
Message-ID: <87bjj48g1c.fsf@pond.sub.org> (raw)
In-Reply-To: <20251229103859.98777-1-zhangckid@gmail.com> (Zhang Chen's message of "Mon, 29 Dec 2025 18:38:57 +0800")
Zhang Chen <zhangckid@gmail.com> writes:
> As the struct IOThreadInfo definition:
> { 'struct': 'IOThreadInfo',
> 'data': {'id': 'str',
> 'thread-id': 'int',
> 'poll-max-ns': 'int',
> 'poll-grow': 'int',
> 'poll-shrink': 'int',
> 'aio-max-batch': 'int' } }
Suggest:
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..6153ed3d04 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':0,
Double quotes, please.
The default value appears to be 32768. Maybe show that?
> +# "poll-grow":0,
> +# "poll-shrink":0,
> +# "aio-max-batch":0
> # },
> # {
> # "id":"iothread1",
> -# "thread-id":3135
> +# "thread-id":3135,
> +# 'poll-max-ns':0,
Likewise.
> +# "poll-grow":0,
> +# "poll-shrink":0,
> +# "aio-max-batch":0
> # }
> # ]
> # }
next prev parent reply other threads:[~2026-01-08 12:07 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-29 10:38 [PATCH 1/3] qapi/misc: Fix missed query-iothreads items Zhang Chen
2025-12-29 10:38 ` [PATCH 2/3] iothread: Introduce a new flag to show iothreads attached status Zhang Chen
2025-12-29 10:38 ` [PATCH 3/3] qapi: Add thread_status flag for iothreads Zhang Chen
2026-01-08 12:12 ` Markus Armbruster
2026-01-09 3:11 ` Zhang Chen
2026-01-15 17:44 ` Zhang Chen
2026-01-16 8:18 ` Markus Armbruster
2026-01-16 8:41 ` Zhang Chen
2026-01-23 13:06 ` Markus Armbruster
2026-01-08 12:06 ` Markus Armbruster [this message]
2026-01-09 2:56 ` [PATCH 1/3] 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=87bjj48g1c.fsf@pond.sub.org \
--to=armbru@redhat.com \
--cc=dave@treblig.org \
--cc=eblake@redhat.com \
--cc=qemu-devel@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.