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