Files
qemu/hw
David Gibson 5b5c7bf8e5 PPC: Fix crash on spapr_tce_table_finalize()
spapr_tce_table_finalize() can SEGV if the object was not previously
realized.  In particular this can be triggered by running
         qemu-system-ppc -device spapr-tce-table,?

The basic problem is that we have mismatched initialization versus
finalization: spapr_tce_table_finalize() is attempting to undo things that
are done in spapr_tce_table_realize(), not an instance_init function.

Therefore, replace spapr_tce_table_finalize() with
spapr_tce_table_unrealize().

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Cc: qemu-stable@nongnu.org
Signed-off-by: Alexander Graf <agraf@suse.de>
(cherry picked from commit 5f9490de56)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
2015-01-14 17:08:44 -06:00
..
2014-06-23 11:01:24 -04:00
2013-12-24 18:02:18 +01:00
2014-06-30 21:13:30 +02:00
2014-06-27 13:48:26 +02:00
2014-07-01 04:02:53 +02:00
2015-01-06 15:43:56 -06:00
2015-01-07 14:58:53 -06:00
2014-06-27 13:48:22 +02:00
2014-06-30 21:13:30 +02:00
2014-06-30 21:13:30 +02:00
2014-06-30 21:13:30 +02:00
2014-05-28 17:36:21 +02:00
2013-08-22 19:10:27 +02:00