From: Anthony PERARD <anthony.perard@citrix.com>
To: Igor Druzhinin <igor.druzhinin@citrix.com>
Cc: xen-devel@lists.xenproject.org, qemu-devel@nongnu.org,
sstabellini@kernel.org, ross.lagerwall@citrix.com
Subject: Re: [Qemu-devel] [PATCH] xen/pt: use address_space_memory object for memory region hooks
Date: Tue, 17 Apr 2018 15:37:23 +0100 [thread overview]
Message-ID: <20180417143723.GN2208@perard> (raw)
In-Reply-To: <c7d408cb-454c-2322-3812-a7cacecdbe5f@citrix.com> <635d45e1-2d97-6313-2348-1e2bc9061d8b@citrix.com>
On Tue, Apr 17, 2018 at 03:18:55PM +0100, Igor Druzhinin wrote:
> On 17/04/18 15:15, Anthony PERARD wrote:
> > On Fri, Apr 06, 2018 at 10:21:23PM +0100, Igor Druzhinin wrote:
> >> The issue that the original patch tried to workaround (uneven number of
> >> region_add/del calls on device attach/detach) was fixed in later QEMU
> >> versions.
> >
> > Do you know when the issue was fixed?
> >
>
> I haven't tracked down a particular version but the previous behavior of
> memory_listener_unregister() was to remove the listener from the list
> without calling the callback. It has changed since then and now the
> callback is called in listener_del_address_space().
On Tue, Apr 17, 2018 at 03:29:42PM +0100, Igor Druzhinin wrote:
> I think it's this commit:
>
> commit d25836cafd7508090d211e97acfc0abc5ae88daa
> Author: Peter Xu <peterx@redhat.com>
> Date: Mon Jan 22 14:02:44 2018 +0800
>
> memory: do explicit cleanup when remove listeners
I think these information ought to be in the commit message, in
particular the fact that the callback wasn't call on detach. And with
the commit message updated, you can add my:
Acked-by: Anthony PERARD <anthony.perard@citrix.com>
Thanks,
--
Anthony PERARD
next prev parent reply other threads:[~2018-04-17 14:37 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-06 21:21 [Qemu-devel] [PATCH] xen/pt: use address_space_memory object for memory region hooks Igor Druzhinin
2018-04-17 13:58 ` Igor Druzhinin
2018-04-17 14:15 ` Anthony PERARD
2018-04-17 14:18 ` Igor Druzhinin
2018-04-17 14:37 ` Anthony PERARD [this message]
2018-04-17 14:29 ` Igor Druzhinin
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=20180417143723.GN2208@perard \
--to=anthony.perard@citrix.com \
--cc=igor.druzhinin@citrix.com \
--cc=qemu-devel@nongnu.org \
--cc=ross.lagerwall@citrix.com \
--cc=sstabellini@kernel.org \
--cc=xen-devel@lists.xenproject.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).