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