Skip to content

qom: Restrict compat properties API to system emulation

Philippe Mathieu-Daudé kvm qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6MAINTAINERS: Separate QDev section from QOM oneMAINTAINERS+13 -80 replies
2/6hw/core: Move compat_props_add() to 'hw/core/boards.h'include/hw/core/boards.h include/hw/core/qdev.h+10 -100 replies
3/6qom: Declare GlobalProperty structure in 'qom/compat-properties.h'include/hw/core/boards.h include/hw/core/qdev-properties.h include/hw/core/qdev.h +2 more+35 -180 replies
4/6qom: Declare compat properties API in 'qom/compat-properties.h'accel/accel-system.c backends/hostmem.c hw/core/machine.c +9 more+18 -80 replies
5/6qom: Restrict compat properties API to system emulationqom/compat-properties.c qom/meson.build qom/object.c+119 -1000 replies
6/6buildsys: Allow building guest-agent on 32-bit hostsconfigure meson.build+53 -130 replies

Reviews trailers per patch

None of the 6 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMichael Tokarev
SeriesR-b
1/6
2/6
3/6
4/6
5/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH-for-11.0? 0/6] qom: Restrict compat properties API to system emulation

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/[email protected]/

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

 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
Signature · 1 line
2.53.0