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

Eduardo Habkost posted 12 patches 3 years, 5 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20201111183823.283752-1-ehabkost@redhat.com
Maintainers: Paolo Bonzini <pbonzini@redhat.com>, Li Zhijian <lizhijian@cn.fujitsu.com>, Richard Henderson <rth@twiddle.net>, Peter Maydell <peter.maydell@linaro.org>, Gerd Hoffmann <kraxel@redhat.com>, Eduardo Habkost <ehabkost@redhat.com>, Zhang Chen <chen.zhang@intel.com>, Pavel Pisa <pisa@cmp.felk.cvut.cz>, Vikram Garhwal <fnu.vikram@xilinx.com>, Jason Wang <jasowang@redhat.com>
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(-)
[PATCH v2 00/12] qom: Convert some properties to class properties
Posted by Eduardo Habkost 3 years, 5 months ago
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(-)

-- 
2.28.0



Re: [PATCH v2 00/12] qom: Convert some properties to class properties
Posted by Eduardo Habkost 3 years, 4 months ago
On Wed, Nov 11, 2020 at 01:38:11PM -0500, Eduardo Habkost wrote:
> 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

I'm queueing this series, excluding patch 12/12.

-- 
Eduardo