pci: hotplug bridge fixes
Status from this message: Applied, thanks.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | qdev: release parent properties on dc->init failurehw/ | +1 | 0 replies | |
| 2/2 | pci_bridge_dev: fix error path in pci_bridge_dev_initfn()hw/ | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Qemu-devel] [PATCH 0/2] pci: hotplug bridge fixes
Hi,
While testing pci bridge hotplug via device_add, I ran into a couple of qemu segfaults.
The first one was caused by having a refcount greater than 0, in the object_delete() path. Once, I got past that error, I hit a second segfault due to the fact that pci_bridge_dev_initfn() didn't fully cleanup its state.
Thanks,
-Jason
Jason Baron (2):
qdev: release parent properties on dc->init failure
pci_bridge_dev: fix error path in pci_bridge_dev_initfn()
hw/pci_bridge_dev.c | 4 +++- hw/qdev.c | 1 + 2 files changed, 4 insertions(+), 1 deletions(-)