From: Michael Tokarev <mjt@tls.msk.ru>
To: "Philippe Mathieu-Daudé" <philmd@linaro.org>, qemu-devel@nongnu.org
Cc: "Marc-André Lureau" <marcandre.lureau@redhat.com>,
"Richard Henderson" <richard.henderson@linaro.org>,
"Daniel P. Berrangé" <berrange@redhat.com>,
"Paolo Bonzini" <pbonzini@redhat.com>,
"Alex Bennée" <alex.bennee@linaro.org>,
kvm@vger.kernel.org
Subject: Re: [PATCH-for-11.0? 0/6] qom: Restrict compat properties API to system emulation
Date: Thu, 26 Mar 2026 09:43:53 +0300 [thread overview]
Message-ID: <f5cf28ff-5f11-4ec1-b985-f32f1c0f0fcd@tls.msk.ru> (raw)
In-Reply-To: <20260325151728.45378-1-philmd@linaro.org>
25.03.2026 18:17, Philippe Mathieu-Daudé wrote:
> Remove QDev uses from QOM to help build the guest-agent
> binary without pulling in QDev methods.
>
> After that only util/qsp.c is left (cond/mutex atomics),
> see this thread:
> https://lore.kernel.org/qemu-devel/a547c29b-3ab7-42fe-889a-19668bc9d090@tls.msk.ru/
>
> Philippe Mathieu-Daudé (6):
> MAINTAINERS: Separate QDev section from QOM one
> hw/core: Move compat_props_add() to 'hw/core/boards.h'
> qom: Declare GlobalProperty structure in 'qom/compat-properties.h'
> qom: Declare compat properties API in 'qom/compat-properties.h'
> qom: Restrict compat properties API to system emulation
> buildsys: Allow building guest-agent on 32-bit hosts
Series:
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
This definitely helps with qemu-ga issue (a few steps closer to it,
anyway), makes things better separated and cleaner, and might even
be simple enough for 11.0. Though I'm not sure for the latter.
Thank you Philippe for this!
/mjt
> MAINTAINERS | 21 +++---
> configure | 64 +++++++++++++----
> meson.build | 2 +-
> include/hw/core/boards.h | 11 +++
> include/hw/core/qdev-properties.h | 1 +
> include/hw/core/qdev.h | 27 -------
> include/qom/compat-properties.h | 40 +++++++++++
> include/qom/object.h | 8 ---
> accel/accel-system.c | 1 +
> backends/hostmem.c | 1 +
> hw/core/machine.c | 1 +
> hw/core/qdev-properties.c | 1 +
> hw/core/qdev.c | 1 +
> hw/i386/pc_q35.c | 1 +
> qom/compat-properties.c | 116 ++++++++++++++++++++++++++++++
> qom/object.c | 102 +-------------------------
> system/rtc.c | 1 +
> system/vl.c | 1 +
> target/i386/sev.c | 1 +
> ui/vdagent.c | 1 +
> qom/meson.build | 3 +
> 21 files changed, 248 insertions(+), 157 deletions(-)
> create mode 100644 include/qom/compat-properties.h
> create mode 100644 qom/compat-properties.c
>
prev parent reply other threads:[~2026-03-26 6:44 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-25 15:17 [PATCH-for-11.0? 0/6] qom: Restrict compat properties API to system emulation Philippe Mathieu-Daudé
2026-03-25 15:17 ` [PATCH-for-11.0? 1/6] MAINTAINERS: Separate QDev section from QOM one Philippe Mathieu-Daudé
2026-03-25 15:17 ` [PATCH-for-11.0? 2/6] hw/core: Move compat_props_add() to 'hw/core/boards.h' Philippe Mathieu-Daudé
2026-03-25 15:17 ` [PATCH-for-11.0? 3/6] qom: Declare GlobalProperty structure in 'qom/compat-properties.h' Philippe Mathieu-Daudé
2026-03-25 15:17 ` [PATCH-for-11.0? 4/6] qom: Declare compat properties API " Philippe Mathieu-Daudé
2026-03-25 15:17 ` [PATCH-for-11.0? 5/6] qom: Restrict compat properties API to system emulation Philippe Mathieu-Daudé
2026-03-25 15:17 ` [NOTFORMERGE PATCH 6/6] buildsys: Allow building guest-agent on 32-bit hosts Philippe Mathieu-Daudé
2026-03-26 6:43 ` Michael Tokarev [this message]
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=f5cf28ff-5f11-4ec1-b985-f32f1c0f0fcd@tls.msk.ru \
--to=mjt@tls.msk.ru \
--cc=alex.bennee@linaro.org \
--cc=berrange@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=marcandre.lureau@redhat.com \
--cc=pbonzini@redhat.com \
--cc=philmd@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=richard.henderson@linaro.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