Re: [PATCH V11 02/15] iothread: introduce holder tracking

Markus Armbruster <[email protected]>
Newsgroups org.nongnu.qemu-devel
Message-ID <[email protected]>
Zhang Chen <[email protected]> writes:

> IOThreads do not record the QOM objects and block exports that use
> them, making runtime introspection and hotplug debugging difficult.
>
> Add:
>
> - holders: a list describing what is holding an iothread
> - iothread_ref(): add a holder to the list
> - iothread_unref(): remove a holder from the list
>
> A holder can identify either a QOM object or a block export. A later
> patch will expose this information through query-iothreads.
>
> Signed-off-by: Zhang Chen <[email protected]>
> Reviewed-by: Stefan Hajnoczi <[email protected]>

Reviewed-by: Markus Armbruster <[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.