From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:38983) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXbuf-0002v7-Mv for qemu-devel@nongnu.org; Mon, 05 Dec 2011 12:01:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RXbuc-0008Ep-0T for qemu-devel@nongnu.org; Mon, 05 Dec 2011 12:01:09 -0500 Received: from mx1.redhat.com ([209.132.183.28]:25910) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXbub-0008EQ-Ln for qemu-devel@nongnu.org; Mon, 05 Dec 2011 12:01:05 -0500 Message-ID: <4EDCF8CC.9050804@redhat.com> Date: Mon, 05 Dec 2011 18:01:00 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <4ED98C06.5040405@codemonkey.ws> <4EDA3104.8030304@redhat.com> <4EDA95ED.6030706@codemonkey.ws> <4EDBDFC7.3090206@codemonkey.ws> <4EDC946A.3090702@redhat.com> <4EDCD6EA.7090500@codemonkey.ws> <4EDCE787.8070306@redhat.com> <4EDCED8E.5000707@codemonkey.ws> <4EDCF162.3010909@redhat.com> <4EDCF38D.70609@codemonkey.ws> In-Reply-To: <4EDCF38D.70609@codemonkey.ws> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2 00/18] qom: dynamic properties and composition tree (v2) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: qemu-devel@nongnu.org On 12/05/2011 05:38 PM, Anthony Liguori wrote: >>> >> >> -device would use parse/print, not get/set. So it would still use the >> strings. > > I don't want -device to have special knowledge of properties. I want it > to set the properties are strings. The property implementation is > private to Object. Ok, I see where you're coming from with legacy properties too. Yeah, then it makes sense to rename properties (to legacy perhaps) as long as the equivalent "name" property is available that uses visitors. I.e. each qdev property would be registered twice, with two different names, one for QOM and one for -device. Paolo