qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: [PATCH v2 0/3] pci: fix resource leak in pci qdev and h


From: Michael S. Tsirkin
Subject: [Qemu-devel] Re: [PATCH v2 0/3] pci: fix resource leak in pci qdev and hot plug.
Date: Tue, 22 Jun 2010 15:20:33 +0300
User-agent: Mutt/1.5.19 (2009-01-05)

On Tue, Jun 22, 2010 at 11:55:32AM +0900, Isaku Yamahata wrote:
> 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.

Applied (tweaked 3/3 to assert on unregister:
if we can  not cleanup, we are in an unknown state).

>  hw/pci.c |   26 ++++++++++++++++++++++----
>  1 files changed, 22 insertions(+), 4 deletions(-)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]