Skip to content

pci: hotplug bridge fixes

Jason Baron qemu-devel 1 version Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2qdev: release parent properties on dc->init failurehw/qdev.c+1 -00 replies
2/2pci_bridge_dev: fix error path in pci_bridge_dev_initfn()hw/pci_bridge_dev.c+3 -10 replies

Reviews trailers per patch

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

Read the v1 thread

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