Re: [Qemu-devel] [PATCH v2 06/27] qom: add QObject-based property get/set wrappers

2012-02-08 Thread Luiz Capitulino
On Tue, 07 Feb 2012 10:12:34 +0100 Paolo Bonzini wrote: > On 02/06/2012 03:16 PM, Anthony Liguori wrote: > > > >> Move the creation of QmpInputVisitor and QmpOutputVisitor from > >> qmp.c to qom/object.c, since it's the only practical way to access > >> object properties. > >> > >> Signed-off-by:

Re: [Qemu-devel] [PATCH v2 06/27] qom: add QObject-based property get/set wrappers

2012-02-07 Thread Paolo Bonzini
On 02/06/2012 03:16 PM, Anthony Liguori wrote: Move the creation of QmpInputVisitor and QmpOutputVisitor from qmp.c to qom/object.c, since it's the only practical way to access object properties. Signed-off-by: Paolo Bonzini Reluctantly-Reviewed-by: Anthony Liguori Fair enough, thanks ver

Re: [Qemu-devel] [PATCH v2 06/27] qom: add QObject-based property get/set wrappers

2012-02-06 Thread Anthony Liguori
On 02/04/2012 02:02 AM, Paolo Bonzini wrote: Move the creation of QmpInputVisitor and QmpOutputVisitor from qmp.c to qom/object.c, since it's the only practical way to access object properties. Signed-off-by: Paolo Bonzini Reluctantly-Reviewed-by: Anthony Liguori As long as we keep this isol

[Qemu-devel] [PATCH v2 06/27] qom: add QObject-based property get/set wrappers

2012-02-04 Thread Paolo Bonzini
Move the creation of QmpInputVisitor and QmpOutputVisitor from qmp.c to qom/object.c, since it's the only practical way to access object properties. Signed-off-by: Paolo Bonzini --- include/qemu/qom-qobject.h | 43 +++ qmp.c | 18 +