[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v2 00/18] qom: dynamic properties and compositio

From: Anthony Liguori
Subject: Re: [Qemu-devel] [PATCH v2 00/18] qom: dynamic properties and composition tree (v2)
Date: Mon, 05 Dec 2011 10:38:37 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20110831 Lightning/1.0b2 Thunderbird/3.1.13

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 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.


Anthony Liguori


reply via email to

[Prev in Thread] Current Thread [Next in Thread]