From: Paolo Bonzini <pbonzini@redhat.com>
To: Eduardo Habkost <ehabkost@redhat.com>, qemu-devel@nongnu.org
Cc: "Daniel P. Berrangé" <berrange@redhat.com>,
"Markus Armbruster" <armbru@redhat.com>
Subject: Re: [PATCH 0/8] qom: Use qlit to represent property defaults
Date: Tue, 10 Nov 2020 17:39:08 +0100 [thread overview]
Message-ID: <0156a49d-a22b-f741-b0db-d2cda4d6ca36@redhat.com> (raw)
In-Reply-To: <20201109212556.3934583-1-ehabkost@redhat.com>
On 09/11/20 22:25, Eduardo Habkost wrote:
> Based-on: 20201104160021.2342108-1-ehabkost@redhat.com
> Git branch: https://gitlab.com/ehabkost/qemu/-/commits/work/qdev-qlit-defaults
>
> This extend qlit.h to support all QNum types (signed int,
> unsigned int, and double), and use QLitObject to represent field
> property defaults.
>
> It allows us to get rid of most type-specific .set_default_value
> functions for QOM property types.
>
> Eduardo Habkost (8):
> qobject: Include API docs in docs/devel/qobject.html
> qnum: Make qnum_get_double() get const pointer
> qnum: QNumValue type for QNum value literals
> qnum: qnum_value_is_equal() function
> qlit: Support all types of QNums
> qlit: qlit_type() function
> qom: Make object_property_set_default() public
> qom: Use qlit to represent property defaults
>
> docs/devel/index.rst | 1 +
> docs/devel/qobject.rst | 11 +++
> include/hw/qdev-properties-system.h | 2 +-
> include/qapi/qmp/qlit.h | 16 +++-
> include/qapi/qmp/qnum.h | 47 ++++++++++-
> include/qapi/qmp/qobject.h | 48 +++++++----
> include/qom/field-property-internal.h | 4 -
> include/qom/field-property.h | 26 +++---
> include/qom/object.h | 11 +++
> include/qom/property-types.h | 21 ++---
> hw/core/qdev-properties-system.c | 8 --
> qobject/qlit.c | 4 +-
> qobject/qnum.c | 116 +++++++++++++++-----------
> qom/field-property.c | 27 ++++--
> qom/object.c | 2 +-
> qom/property-types.c | 36 ++------
> tests/check-qjson.c | 72 ++++++++++++++--
> 17 files changed, 295 insertions(+), 157 deletions(-)
> create mode 100644 docs/devel/qobject.rst
>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Thanks,
Paolo
next prev parent reply other threads:[~2020-11-10 16:40 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-09 21:25 [PATCH 0/8] qom: Use qlit to represent property defaults Eduardo Habkost
2020-11-09 21:25 ` [PATCH 1/8] qobject: Include API docs in docs/devel/qobject.html Eduardo Habkost
2020-11-09 21:25 ` [PATCH 2/8] qnum: Make qnum_get_double() get const pointer Eduardo Habkost
2020-11-09 21:25 ` [PATCH 3/8] qnum: QNumValue type for QNum value literals Eduardo Habkost
2020-11-09 21:25 ` [PATCH 4/8] qnum: qnum_value_is_equal() function Eduardo Habkost
2020-11-09 21:25 ` [PATCH 5/8] qlit: Support all types of QNums Eduardo Habkost
2020-11-09 21:25 ` [PATCH 6/8] qlit: qlit_type() function Eduardo Habkost
2020-11-09 21:25 ` [PATCH 7/8] qom: Make object_property_set_default() public Eduardo Habkost
2020-11-09 21:25 ` [PATCH 8/8] qom: Use qlit to represent property defaults Eduardo Habkost
2020-11-09 21:39 ` [PATCH 0/8] " no-reply
2020-11-10 16:39 ` Paolo Bonzini [this message]
2020-11-10 18:16 ` Eduardo Habkost
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0156a49d-a22b-f741-b0db-d2cda4d6ca36@redhat.com \
--to=pbonzini@redhat.com \
--cc=armbru@redhat.com \
--cc=berrange@redhat.com \
--cc=ehabkost@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).