Received: from eggs.gnu.org ([2001:4830:134:3::10]:39925) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUILj-0004Qa-Qc for qemu-devel@nongnu.org; Fri, 12 Feb 2016 13:21:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUILg-0000nL-Lg for qemu-devel@nongnu.org; Fri, 12 Feb 2016 13:21:47 -0500 Received: from mx1.redhat.com ([209.132.183.28]:43193) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUILg-0000mq-Fp for qemu-devel@nongnu.org; Fri, 12 Feb 2016 13:21:44 -0500 Date: Fri, 12 Feb 2016 16:21:41 -0200 From: Eduardo Habkost Message-ID: <20160212182141.GK6239@thinpad.lan.raisama.net> References: <1455268436-1244-1-git-send-email-valentin.rakush@gmail.com> <56BDC25A.9030003@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <56BDC25A.9030003@suse.de> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH RFC] qmp, target-i386: device_list_properties for TYPE_CPU List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Andreas =?iso-8859-1?Q?F=E4rber?= Cc: Markus Armbruster , qemu-devel@nongnu.org, Luiz Capitulino , asmetanin@virtuozzo.com, den@openvz.org, Valentin Rakush On Fri, Feb 12, 2016 at 12:30:34PM +0100, Andreas F=E4rber wrote: > Hi, >=20 > Am 12.02.2016 um 10:13 schrieb Valentin Rakush: > > This is RFC because there is another implementation option: it is > > possible to implement this functionality in the object_finalize for > > all available targets. All targets change will require more testing. > > Please let me know if all targets should be changed at once. >=20 > I thought I had already seen some Fujitsu/IBM patch to fix this... > (pointers appreciated) It should be fixed on the level where the proble= m > is introduced - i.e. if qom/cpu.c calls the cpu_exec_init() in > instance_init it needs to call the corresponding exit function in > instance_finalize; dito for target-i386/cpu.c or wherever. Or we try to > move it from instance_init to realize, avoiding it getting called in th= e > first place. cpu_exec_init() calls must all be moved to realize. --=20 Eduardo