From: Stefan Hajnoczi <stefanha@redhat.com>
To: Zhang Chen <zhangckid@gmail.com>
Cc: qemu-devel <qemu-devel@nongnu.org>,
"Eric Blake" <eblake@redhat.com>,
"Markus Armbruster" <armbru@redhat.com>,
"'Michael S . Tsirkin'" <mst@redhat.com>,
"Paolo Bonzini" <pbonzini@redhat.com>,
"'Daniel P . Berrangé'" <berrange@redhat.com>,
"Jason Wang" <jasowangio@gmail.com>
Subject: Re: [PATCH V17 07/13] net/colo: track IOThread references using path-based holder
Date: Wed, 16 Sep 2026 15:47:25 -0400 [thread overview]
Message-ID: <20260916194725.GD162769@fedora> (raw)
In-Reply-To: <20260915101655.3216101-8-zhangckid@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 808 bytes --]
On Tue, Sep 15, 2026 at 06:16:49PM +0800, Zhang Chen wrote:
> @@ -1404,6 +1410,7 @@ static void colo_compare_finalize(Object *obj)
> {
> CompareState *s = COLO_COMPARE(obj);
> CompareState *tmp;
> + g_autofree char *path = object_get_canonical_path(OBJECT(s));
Did you test this? I think object_get_canonical_path() doesn't work here
because the object's ->parent link is already NULL:
static void object_finalize_child_property(Object *obj, const char *name,
void *opaque)
{
Object *child = opaque;
if (child->class->unparent) {
(child->class->unparent)(child);
}
child->parent = NULL;
^^^^^^^^^^^^^^^^^^^^^
object_unref(child);
^^ we are here ^^
}
Stefan
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next prev parent reply other threads:[~2026-09-21 13:37 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-15 10:16 [PATCH V17 00/13] iothread: Support tracking and querying IOThread holder Zhang Chen
2026-09-15 10:16 ` [PATCH V17 01/13] iothread: introduce holder tracking Zhang Chen
2026-09-15 10:16 ` [PATCH V17 02/13] iothread: add holder-aware AioContext accessors Zhang Chen
2026-09-15 10:16 ` [PATCH V17 03/13] block/export: track IOThread references Zhang Chen
2026-09-15 10:16 ` [PATCH V17 04/13] monitor: track IOThread users with QOM paths Zhang Chen
2026-09-15 10:49 ` Markus Armbruster
2026-09-16 2:13 ` Zhang Chen
2026-09-16 19:33 ` Stefan Hajnoczi
2026-09-15 10:16 ` [PATCH V17 05/13] virtio-vq-mapping: track iothread-vq-mapping references using device path Zhang Chen
2026-09-16 19:36 ` Stefan Hajnoczi
2026-09-15 10:16 ` [PATCH V17 06/13] virtio: track IOThread references for thread pinning Zhang Chen
2026-09-16 19:38 ` Stefan Hajnoczi
2026-09-15 10:16 ` [PATCH V17 07/13] net/colo: track IOThread references using path-based holder Zhang Chen
2026-09-16 19:47 ` Stefan Hajnoczi [this message]
2026-09-22 3:16 ` Zhang Chen
2026-09-15 10:16 ` [PATCH V17 08/13] virtio-balloon: Update tracking iothread users with holder Zhang Chen
2026-09-16 19:48 ` Stefan Hajnoczi
2026-09-15 10:16 ` [PATCH V17 09/13] vfio-user/proxy: Update tracking iothread users with holder name Zhang Chen
2026-09-16 19:54 ` Stefan Hajnoczi
2026-09-22 6:15 ` Zhang Chen
2026-09-15 10:16 ` [PATCH V17 10/13] xen-block: " Zhang Chen
2026-09-16 19:56 ` Stefan Hajnoczi
2026-09-15 10:16 ` [PATCH V17 11/13] monitor/hmp: display IOThread holders Zhang Chen
2026-09-16 20:01 ` Stefan Hajnoczi
2026-09-15 10:16 ` [PATCH V17 12/13] iothread: make legacy AioContext getter explicitly unsafe Zhang Chen
2026-09-15 10:59 ` Markus Armbruster
2026-09-16 2:24 ` Zhang Chen
2026-09-16 6:55 ` Markus Armbruster
2026-09-16 20:09 ` Stefan Hajnoczi
2026-09-15 10:16 ` [PATCH V17 13/13] tests/unit/iothread: update AioContext ref/put helpers 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=20260916194725.GD162769@fedora \
--to=stefanha@redhat.com \
--cc=armbru@redhat.com \
--cc=berrange@redhat.com \
--cc=eblake@redhat.com \
--cc=jasowangio@gmail.com \
--cc=mst@redhat.com \
--cc=pbonzini@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.