From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:33935) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXbZ1-0007Qu-7g for qemu-devel@nongnu.org; Mon, 05 Dec 2011 11:38:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RXbYv-0003mi-Ri for qemu-devel@nongnu.org; Mon, 05 Dec 2011 11:38:47 -0500 Received: from mail-yw0-f45.google.com ([209.85.213.45]:57524) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXbYv-0003mc-O4 for qemu-devel@nongnu.org; Mon, 05 Dec 2011 11:38:41 -0500 Received: by ywe9 with SMTP id 9so5976806ywe.4 for ; Mon, 05 Dec 2011 08:38:41 -0800 (PST) Message-ID: <4EDCF38D.70609@codemonkey.ws> Date: Mon, 05 Dec 2011 10:38:37 -0600 From: Anthony Liguori 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> In-Reply-To: <4EDCF162.3010909@redhat.com> 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: Paolo Bonzini Cc: qemu-devel@nongnu.org On 12/05/2011 10:29 AM, Paolo Bonzini wrote: > On 12/05/2011 05:13 PM, Anthony Liguori wrote: >> >>>> Maybe now is the right time to rename the legacy properties to all be >>>> prefixed with qdev-? That way we don't need to introduce two different >>>> types for a single property. >>> >>> Why do you need such a prefix? >> >> To avoid an all-at-once conversion. I don't want to break -device and >> maintaining string properties make it quite a bit easier to support >> -device. > > -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. Regards, Anthony Liguori > > Paolo