Files
qemu/hw/misc
Alex Williamson 4d49de6b6f vfio-pci: Fix missing unparent of dynamically allocated MemoryRegion
Commit d8d9581460 added explicit object_unparent() calls for
dynamically allocated MemoryRegions.  The VFIOMSIXInfo structure also
contains such a MemoryRegion, covering the mmap'd region of a PCI BAR
above the MSI-X table.  This structure is freed as part of the class
exit function and therefore also needs an explicit object_unparent().
Failing to do this results in random segfaults due to fields within
the structure, often the class pointer, being reclaimed and corrupted
by the time object_finalize_child_property() is called for the object.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Cc: qemu-stable@nongnu.org # 2.2
(cherry picked from commit 3a4dbe6aa9)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
2015-02-23 18:04:34 -06:00
..
2013-11-05 17:47:29 +01:00
2013-11-05 17:47:30 +01:00
2014-06-30 21:13:30 +02:00
2014-10-31 17:02:22 +01:00
2014-05-24 19:43:52 +02:00
2013-07-29 21:06:59 +02:00
2014-06-23 11:12:28 -04:00