[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 04/16] qom: add QObject-based property get/set w
From: |
Andreas Färber |
Subject: |
Re: [Qemu-devel] [PATCH 04/16] qom: add QObject-based property get/set wrappers |
Date: |
Thu, 02 Feb 2012 20:21:52 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111220 Thunderbird/9.0 |
Am 02.02.2012 20:06, schrieb Anthony Liguori:
> On 02/02/2012 10:45 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<address@hidden>
>> ---
>> include/qemu/object.h | 24 ++++++++++++++++++++++++
>> qmp.c | 17 ++---------------
>> qom/object.c | 29 +++++++++++++++++++++++++++++
>> 3 files changed, 55 insertions(+), 15 deletions(-)
>
> I don't want object.h to have a dependency on QObject. We need to phase
> out QObject.
We did get that dependency though by your move of the property code to
object.c. As you will see shortly, we now need qobject-obj-y and
qapi-obj-y plus some stubs to make the user emulators compile with QOM.
Andreas
--
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
[Qemu-devel] [PATCH 03/16] qom: do not include qdev header file, Paolo Bonzini, 2012/02/02
[Qemu-devel] [PATCH 05/16] qom: add property get/set wrappers for C types, Paolo Bonzini, 2012/02/02
[Qemu-devel] [PATCH 06/16] qdev: remove direct calls to print/parse, Paolo Bonzini, 2012/02/02
[Qemu-devel] [PATCH 09/16] qdev: remove parse/print methods for mac properties, Paolo Bonzini, 2012/02/02
[Qemu-devel] [PATCH 07/16] qdev: allow reusing get/set for legacy property, Paolo Bonzini, 2012/02/02
[Qemu-devel] [PATCH 10/16] qdev: make the non-legacy pci address property accept an integer, Paolo Bonzini, 2012/02/02