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