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

Markus Armbruster <[email protected]>
Newsgroups gmane.comp.emulators.qemu
Message-ID <[email protected]>
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 ..."

> 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.