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