Re: [PATCH V11 06/15] monitor: track IOThread users with QOM paths

Zhang Chen <[email protected]>
Newsgroups org.nongnu.qemu-devel
Message-ID <CAK3tnv+YqCPf8Wb461KJuSKdGMLSEhPQrM6AnJQAukwUsU_ixA@mail.gmail.com>
On Fri, Aug 7, 2026 at 10:04 PM Markus Armbruster <[email protected]> wrote:
>
> Zhang Chen <[email protected]> writes:
>
> > Acquire the shared monitor IOThread AioContext once, using the monitor
> > QOM path as the holder, and reuse the stored context for later
> > operations.
>
> This describes what the patch does, but not why it is useful.
>
> > Release the holder during global cleanup and dynamic QMP monitor
> > deletion to provide an explicit acquire/release lifecycle.
>
> This at least provides a clue: "to provide ..."

OK, will add more comments here.

Thanks
Chen

>
> > Signed-off-by: Zhang Chen <[email protected]>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.