pci: fix resource leak in pci qdev and hot plug.
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest3 patches 2 repliesIn review
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | pci: fix memory leak of PCIDevice::romfile.hw/ | +1 | 0 replies | |
| 2/3 | pci: option rom clean up.hw/ | +10 | 0 replies | |
| 3/3 | pci hotplug: make pci hotplug return value to caller.hw/ | +11 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
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(-)