From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53830) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cncP6-00041B-2Y for qemu-devel@nongnu.org; Mon, 13 Mar 2017 22:41:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cncP5-0001MZ-3j for qemu-devel@nongnu.org; Mon, 13 Mar 2017 22:41:40 -0400 Received: from mail-it0-x241.google.com ([2607:f8b0:4001:c0b::241]:34983) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cncP4-0001M6-US for qemu-devel@nongnu.org; Mon, 13 Mar 2017 22:41:39 -0400 Received: by mail-it0-x241.google.com with SMTP id f203so7954341itf.2 for ; Mon, 13 Mar 2017 19:41:38 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <76f31bd5-4453-563a-9658-9374e68934b6@redhat.com> References: <1488449293-80280-1-git-send-email-liqiang6-s@360.cn> <76f31bd5-4453-563a-9658-9374e68934b6@redhat.com> From: Li Qiang Date: Tue, 14 Mar 2017 10:41:37 +0800 Message-ID: Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] [PATCH 0/3] ide: ahci: fix memory leak in device unit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: John Snow Cc: Qemu Developers , pbonzini@redhat.com, Li Qiang , P J P Hello John, Does this patch go to upstream? Thanks. 2017-03-04 6:48 GMT+08:00 John Snow : > > > 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 >