On Tue, Sep 29, 2026 at 04:44:10PM +0800, Zhang Chen wrote:
> Convert colo-compare to use the iothread_ref_and_get_aio_context() and
> iothread_unref_and_put_aio_context() APIs. This ensures that
> IOThread references are tracked using the COLO object's canonical
> QOM path as the holder ID.
> 
> This refactoring improves IOThread lifecycle traceability and aligns
> the code with modern QEMU iothread reference management patterns.
> 
> Signed-off-by: Zhang Chen <[email protected]>
> ---
>  net/colo-compare.c | 36 ++++++++++++++++++++++++------------
>  1 file changed, 24 insertions(+), 12 deletions(-)

Reviewed-by: Stefan Hajnoczi <[email protected]>


Reply via email to