Re: [Qemu-devel] [PATCH 0/2] pci: hotplug bridge fixes

2012-06-04 Thread Michael S. Tsirkin
On Wed, May 02, 2012 at 10:42:06PM -0400, Jason Baron wrote:
 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

Applied, thanks.

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



[Qemu-devel] [PATCH 0/2] pci: hotplug bridge fixes

2012-05-02 Thread Jason Baron
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(-)