Skip to content

qom: Convert some properties to class properties

Eduardo Habkost qemu-arm qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest12 patches 14 repliesIn review
  2. v124 patches 35 repliesSuperseded

Changes in v2 from the cover letter

* Bug fix at "i386: Register feature bit properties as class properties"
* Included patches that were originally submnitted as part of "qom: Make all -object types use only class properties"
* All other patches are unchanged from v1

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12vexpress: Register "secure" as class propertyhw/arm/vexpress.c+6 -51 reply
2/12vexpress-a15: Register "virtualization" as class propertyhw/arm/vexpress.c+8 -61 reply
3/12tmp421: Register properties as class propertieshw/misc/tmp421.c+13 -171 reply
4/12i386: Register feature bit properties as class propertiestarget/i386/cpu.c+16 -243 replies
5/12arm/virt: Register most properties as class propertieshw/arm/virt.c+41 -351 reply
6/12virt: Register "its" as class propertyhw/arm/virt.c+7 -51 reply
7/12arm/cpu64: Register "aarch64" as class propertytarget/arm/cpu64.c+6 -101 reply
8/12can_host: Use class propertiesnet/can/can_host.c+5 -111 reply
9/12colo: Use class propertiesnet/colo-compare.c+29 -282 replies
10/12netfilter: Reorder functionsnet/filter-buffer.c net/filter-mirror.c+28 -280 replies
11/12netfilter: Use class propertiesnet/dump.c net/filter-buffer.c net/filter-mirror.c +2 more+39 -420 replies
12/12input: Use class propertiesui/input-barrier.c ui/input-linux.c+36 -01 reply

Reviews trailers per patch

7 of 12 patches have a Reviewed-by or Acked-by.

PatchPeter MaydellPavel PisaZhang Chen
1/12R-b
2/12R-b
3/12R-b
4/12
5/12R-b
6/12R-b
7/12R-b
8/12T-b
9/12R-b
10/12
11/12
12/12

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 00/12] qom: Convert some properties to class properties

Class properties make QOM introspection simpler and easier, as it doesn't require an object to be instantiated. This series converts a few existing object_property_add*() calls to register class properties instead.

Changes v1 -> v2:
* Bug fix at "i386: Register feature bit properties as class properties"
* Included patches that were originally submnitted as part of "qom: Make all -object types use only class properties"
* All other patches are unchanged from v1

Eduardo Habkost (12):
vexpress: Register "secure" as class property
vexpress-a15: Register "virtualization" as class property
tmp421: Register properties as class properties
i386: Register feature bit properties as class properties arm/virt: Register most properties as class properties
virt: Register "its" as class property arm/cpu64: Register "aarch64" as class property
can_host: Use class properties
colo: Use class properties
netfilter: Reorder functions
netfilter: Use class properties
input: Use class properties

 hw/arm/vexpress.c     | 25 ++++++------
 hw/arm/virt.c         | 88 +++++++++++++++++++++++--------------------
 hw/misc/tmp421.c      | 30 +++++++--------
 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 ++++++------
 target/arm/cpu64.c    | 16 +++-----
 target/i386/cpu.c     | 40 ++++++++------------
 ui/input-barrier.c    | 22 +++++++++++
 ui/input-linux.c      | 14 +++++++
 14 files changed, 231 insertions(+), 208 deletions(-)
Signature · 1 line
2.28.0