From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50170) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZgTaf-0000er-Od for qemu-devel@nongnu.org; Mon, 28 Sep 2015 04:15:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZgTaa-0008EV-Pl for qemu-devel@nongnu.org; Mon, 28 Sep 2015 04:15:17 -0400 References: <1443121042-3409-1-git-send-email-armbru@redhat.com> <1443121042-3409-7-git-send-email-armbru@redhat.com> <56054E5E.3090005@redhat.com> <87y4fu1t3j.fsf@blackfin.pond.sub.org> <560590A6.3030408@redhat.com> <87io6vm08l.fsf@blackfin.pond.sub.org> From: =?UTF-8?Q?Andreas_F=c3=a4rber?= Message-ID: <5608F704.10300@suse.de> Date: Mon, 28 Sep 2015 10:15:00 +0200 MIME-Version: 1.0 In-Reply-To: <87io6vm08l.fsf@blackfin.pond.sub.org> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v3 6/7] qdev: Protect device-list-properties against broken devices List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster Cc: Peter Maydell , Thomas Huth , ehabkost@redhat.com, Peter Crosthwaite , qemu-devel@nongnu.org, qemu-stable@nongnu.org, Christian Borntraeger , Alexander Graf , qemu-ppc@nongnu.org, Antony Pavlov , stefanha@redhat.com, Cornelia Huck , Paolo Bonzini , Alistair Francis , Li Guang , Richard Henderson Am 28.09.2015 um 10:11 schrieb Markus Armbruster: > Hmm, does creating and destroying a macio object leave the memory regio= n > behind? >=20 > Paolo, is calling memory_region_init() in an instance_init() method > okay? >=20 > If yes, where should they be destroyed, and how? The counterpart to .instance_init is .instance_finalize aka uninit. Cheers, Andreas --=20 SUSE Linux GmbH, Maxfeldstr. 5, 90409 N=FCrnberg, Germany GF: Felix Imend=F6rffer, Jane Smithard, Graham Norton; HRB 21284 (AG N=FC= rnberg)