qemu-devel
[Top][All Lists]
Advanced

[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: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH v2 00/18] qom: dynamic properties and composition tree (v2)
Date: Mon, 05 Dec 2011 18:01:00 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20110930 Thunderbird/7.0.1

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



reply via email to

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