From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50485) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XovYg-0001Zu-52 for qemu-devel@nongnu.org; Thu, 13 Nov 2014 09:39:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XovYb-00043h-7F for qemu-devel@nongnu.org; Thu, 13 Nov 2014 09:39:38 -0500 Received: from mx1.redhat.com ([209.132.183.28]:47346) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XovYb-00043X-0D for qemu-devel@nongnu.org; Thu, 13 Nov 2014 09:39:33 -0500 Message-ID: <5464C29D.6090706@redhat.com> Date: Thu, 13 Nov 2014 15:39:25 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1415812130-2592-1-git-send-email-armbru@redhat.com> <54639524.3060205@redhat.com> <87wq6zmsiz.fsf@blackfin.pond.sub.org> <54648333.2050808@redhat.com> <87sihn9nji.fsf@blackfin.pond.sub.org> In-Reply-To: <87sihn9nji.fsf@blackfin.pond.sub.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 0/4] qom: Replace "automatic arrayification" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster Cc: peter.crosthwaite@xilinx.com, qemu-devel@nongnu.org, afaerber@suse.de On 13/11/2014 15:34, Markus Armbruster wrote: > - ... "bla" ... > + char *name = object_gen_new_property_name(obj, "bla"); > + ... name ... > + g_free(name); > > Not quite as mechanical, in particular finding the obj to pass to > object_gen_new_property_name(). > > Correct? Yes (except that the obj is just qdev_get_machine()). > [*] What we want to do is drag them along until the Second Coming, when > Jesus will set everything right, which naturally includes qdevifying all > the old crap nobody wants to touch. Or maybe not. Look at the bottom: https://upload.wikimedia.org/wikipedia/commons/a/a5/Michelangelo%2C_Giudizio_Universale_02.jpg Paolo