Skip to content

qom: Make all -object types use only class properties

Eduardo Habkost qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12qom: Helpers for pointer propertiesqom/object.c+64 -1040 replies
2/12qom: Introduce PointerProperty structqom/object.c+36 -100 replies
3/12qom: Make object_class_property_add_uint*_ptr() get offsetinclude/qom/object.h qom/object.c tests/check-qom-proplist.c+35 -1912 replies
4/12sev: Use class propertiestarget/i386/sev.c+13 -90 replies
5/12rng: Use class propertiesbackends/rng-egd.c backends/rng-random.c backends/rng.c+10 -140 replies
6/12can_host: Use class propertiesnet/can/can_host.c+5 -111 reply
7/12colo: Use class propertiesnet/colo-compare.c+29 -280 replies
8/12netfilter: Reorder functionsnet/filter-buffer.c net/filter-mirror.c+28 -280 replies
9/12netfilter: Use class propertiesnet/dump.c net/filter-buffer.c net/filter-mirror.c +2 more+39 -420 replies
10/12input: Use class propertiesui/input-barrier.c ui/input-linux.c+36 -351 reply
11/12qom: Property lock mechanisminclude/qom/object.h qom/object.c tests/test-qdev-global-props.c+115 -00 replies
12/12qom: Lock properties of all TYPE_USER_CREATABLE typesqom/object_interfaces.c+11 -01 reply

Reviews trailers per patch

1 of 12 patches has a Reviewed-by or Acked-by.

PatchPavel PisaGerd Hoffmann
1/12
2/12
3/12
4/12
5/12
6/12T-b
7/12
8/12
9/12
10/12A-b
11/12
12/12

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 00/12] qom: Make all -object types use only class properties

To make introspection possible, make all TYPE_USER_CREATABLE classes use only class properties, and add a mechanism to lock QOM properties so writable instance properties won't be allowed anymore.

Eduardo Habkost (12):
qom: Helpers for pointer properties
qom: Introduce PointerProperty struct
qom: Make object_class_property_add_uint*_ptr() get offset
sev: Use class properties
rng: Use class properties
can_host: Use class properties
colo: Use class properties
netfilter: Reorder functions
netfilter: Use class properties
input: Use class properties
[RFC] qom: Property lock mechanism
[RFC] qom: Lock properties of all TYPE_USER_CREATABLE types

 include/qom/object.h           |  25 +++-
 backends/rng-egd.c             |  10 +-
 backends/rng-random.c          |   8 +-
 backends/rng.c                 |   6 +-
 net/can/can_host.c             |  16 +--
 net/colo-compare.c             |  57 ++++----
 net/dump.c                     |  10 +-
 net/filter-buffer.c            |  26 ++--
 net/filter-mirror.c            |  64 ++++-----
 net/filter-rewriter.c          |   7 +-
 net/filter.c                   |  24 ++--
 qom/object.c                   | 256 ++++++++++++++++++---------------
 qom/object_interfaces.c        |  11 ++
 target/i386/sev.c              |  22 +--
 tests/check-qom-proplist.c     |  10 +-
 tests/test-qdev-global-props.c |  70 +++++++++
 ui/input-barrier.c             |  44 +++---
 ui/input-linux.c               |  27 ++--
 18 files changed, 407 insertions(+), 286 deletions(-)
Signature · 1 line
2.26.2