qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2] pci: hotplug bridge fixes
@ 2012-05-03  2:42 Jason Baron
  2012-05-03  2:42 ` [Qemu-devel] [PATCH 1/2] qdev: release parent properties on dc->init failure Jason Baron
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Jason Baron @ 2012-05-03  2:42 UTC (permalink / raw)
  To: qemu-devel; +Cc: pbonzini, alex.williamson, aliguori, mst

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-06-04 21:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-03  2:42 [Qemu-devel] [PATCH 0/2] pci: hotplug bridge fixes Jason Baron
2012-05-03  2:42 ` [Qemu-devel] [PATCH 1/2] qdev: release parent properties on dc->init failure Jason Baron
2012-05-03  2:42 ` [Qemu-devel] [PATCH 2/2] pci_bridge_dev: fix error path in pci_bridge_dev_initfn() Jason Baron
2012-06-04 21:47 ` [Qemu-devel] [PATCH 0/2] pci: hotplug bridge fixes Michael S. Tsirkin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).