Skip to content

pci: fix resource leak in pci qdev and hot plug.

Isaku Yamahata qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest3 patches 2 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3pci: fix memory leak of PCIDevice::romfile.hw/pci.c+1 -00 replies
2/3pci: option rom clean up.hw/pci.c+10 -00 replies
3/3pci hotplug: make pci hotplug return value to caller.hw/pci.c+11 -41 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 0/3] pci: fix resource leak in pci qdev and hot plug.

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(-)