Re: [Qemu-devel] [PATCH v2 13/27] qdev: remove direct calls to print/parse

2012-02-06 Thread Anthony Liguori
On 02/04/2012 02:02 AM, Paolo Bonzini wrote: There's no need to call into -parse and -print manually. The QOM legacy properties do that for us. Furthermore, in some cases legacy and static properties have exactly the same behavior, and we could drop the legacy properties right away. Add an

[Qemu-devel] [PATCH v2 13/27] qdev: remove direct calls to print/parse

2012-02-04 Thread Paolo Bonzini
There's no need to call into -parse and -print manually. The QOM legacy properties do that for us. Furthermore, in some cases legacy and static properties have exactly the same behavior, and we could drop the legacy properties right away. Add an appropriate fallback to prepare for this.