Received: from [140.186.70.92] (port=36484 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OQtr7-0000t0-Bd for qemu-devel@nongnu.org; Mon, 21 Jun 2010 23:08:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OQthr-00030l-Pj for qemu-devel@nongnu.org; Mon, 21 Jun 2010 22:59:25 -0400 Received: from mail.valinux.co.jp ([210.128.90.3]:59875) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OQthr-000307-G8 for qemu-devel@nongnu.org; Mon, 21 Jun 2010 22:59:23 -0400 From: Isaku Yamahata Date: Tue, 22 Jun 2010 11:55:32 +0900 Message-Id: Subject: [Qemu-devel] [PATCH v2 0/3] pci: fix resource leak in pci qdev and hot plug. List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: yamahata@valinux.co.jp, kraxel@redhat.com, mst@redhat.com pci qdev exit code patch(pci_unregister_device) doesn't release all the resource allocated by pci qdev initialization.(pci_qdev_init) This patch series sorts it out and make pci::hotplug error code to the caller. Isaku Yamahata (3): pci: fix memory leak of PCIDevice::romfile. pci: option rom clean up. pci hotplug: make pci hotplug return value to caller. hw/pci.c | 26 ++++++++++++++++++++++---- 1 files changed, 22 insertions(+), 4 deletions(-)