From: John Snow <jsnow@redhat.com>
To: Li Qiang <liq3ea@gmail.com>, qemu-devel@nongnu.org
Cc: pbonzini@redhat.com, Li Qiang <liqiang6-s@360.cn>, ppandit@redhat.com
Subject: Re: [Qemu-devel] [PATCH 0/3] ide: ahci: fix memory leak in device unit
Date: Fri, 3 Mar 2017 17:48:59 -0500 [thread overview]
Message-ID: <76f31bd5-4453-563a-9658-9374e68934b6@redhat.com> (raw)
In-Reply-To: <1488449293-80280-1-git-send-email-liqiang6-s@360.cn>
On 03/02/2017 05:08 AM, Li Qiang wrote:
> As the pci ahci can be hotplug and unplug, in the ahci unrealize
> function it should free all the resource once allocated in the
> realized function. This patchset first add cleanup function in
> core layer and then call it in the ahci unit.
>
> Li Qiang (3):
> ide: qdev: register ide bus unrealize function
> ide: core: add cleanup function
> ide: ahci: call cleanup function in ahci unit
>
> hw/ide/ahci.c | 12 ++++++++++++
> hw/ide/core.c | 8 ++++++++
> hw/ide/qdev.c | 12 ++++++------
> include/hw/ide/internal.h | 1 +
> 4 files changed, 27 insertions(+), 6 deletions(-)
>
Thanks, applied to my IDE tree:
https://github.com/jnsnow/qemu/commits/ide
https://github.com/jnsnow/qemu.git
--js
next prev parent reply other threads:[~2017-03-03 22:49 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-02 10:08 [Qemu-devel] [PATCH 0/3] ide: ahci: fix memory leak in device unit Li Qiang
2017-03-02 10:08 ` [Qemu-devel] [PATCH 1/3] ide: qdev: register ide bus unrealize function Li Qiang
2017-03-02 23:46 ` Philippe Mathieu-Daudé
2017-03-02 10:08 ` [Qemu-devel] [PATCH 2/3] ide: core: add cleanup function Li Qiang
2017-03-02 10:08 ` [Qemu-devel] [PATCH 3/3] ide: ahci: call cleanup function in ahci unit Li Qiang
2017-03-03 22:48 ` John Snow [this message]
2017-03-14 2:41 ` [Qemu-devel] [PATCH 0/3] ide: ahci: fix memory leak in device unit Li Qiang
2017-03-14 19:03 ` John Snow
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=76f31bd5-4453-563a-9658-9374e68934b6@redhat.com \
--to=jsnow@redhat.com \
--cc=liq3ea@gmail.com \
--cc=liqiang6-s@360.cn \
--cc=pbonzini@redhat.com \
--cc=ppandit@redhat.com \
--cc=qemu-devel@nongnu.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).