Received: from eggs.gnu.org ([2001:4830:134:3::10]:38890) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cBkb4-0006ZA-Dq for qemu-devel@nongnu.org; Tue, 29 Nov 2016 10:45:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cBkb2-0004b2-Pg for qemu-devel@nongnu.org; Tue, 29 Nov 2016 10:45:30 -0500 Received: from 20.mo1.mail-out.ovh.net ([188.165.45.168]:47447) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cBkb2-0004aD-JT for qemu-devel@nongnu.org; Tue, 29 Nov 2016 10:45:28 -0500 Received: from player795.ha.ovh.net (b9.ovh.net [213.186.33.59]) by mo1.mail-out.ovh.net (Postfix) with ESMTP id 6FC481F8A3 for ; Tue, 29 Nov 2016 16:45:27 +0100 (CET) From: =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= Date: Tue, 29 Nov 2016 16:43:42 +0100 Message-Id: <1480434248-27138-5-git-send-email-clg@kaod.org> In-Reply-To: <1480434248-27138-1-git-send-email-clg@kaod.org> References: <1480434248-27138-1-git-send-email-clg@kaod.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH for-2.9 04/30] aspeed: remove cannot_destroy_with_object_finalize_yet List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: qemu-devel@nongnu.org, qemu-arm@nongnu.org, Andrew Jeffery , Marcin Krzeminski , Peter Crosthwaite , =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= With commit ce5b1bbf624b ("exec: move cpu_exec_init() calls to realize functions"), we can now remove cannot_destroy_with_object_finalize_yet. Suggested-by: Andrew Jeffery Signed-off-by: C=C3=A9dric Le Goater --- hw/arm/aspeed_soc.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/hw/arm/aspeed_soc.c b/hw/arm/aspeed_soc.c index db145e201451..3a6b91f14b45 100644 --- a/hw/arm/aspeed_soc.c +++ b/hw/arm/aspeed_soc.c @@ -251,12 +251,6 @@ static void aspeed_soc_class_init(ObjectClass *oc, v= oid *data) =20 sc->info =3D (AspeedSoCInfo *) data; dc->realize =3D aspeed_soc_realize; - - /* - * Reason: creates an ARM CPU, thus use after free(), see - * arm_cpu_class_init() - */ - dc->cannot_destroy_with_object_finalize_yet =3D true; } =20 static const TypeInfo aspeed_soc_type_info =3D { --=20 2.7.4