Skip to content

qom: add helpers for integer properties

Michael S. Tsirkin qemu-devel 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 0 repliesNew
  2. v14 patches 1 replySuperseded

Changes in v2 from the cover letter

don't pass pointer to visitor directly since it writes there
fixes crash reported by Gerd

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4qemu: add Error to typedefsinclude/qemu/typedefs.h+1 -00 replies
2/4qom: pull in qemu/typedefsinclude/qom/object.h+1 -00 replies
3/4qom: cleanup struct Error referencesinclude/qom/object.h+25 -260 replies
4/4qom: add pointer to int property helpersinclude/qom/object.h qom/object.c+81 -00 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchPaolo Bonzini
1/4R-b
2/4R-b
3/4R-b
4/4R-b

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

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 0/4] qom: add helpers for integer properties

Add helper functions for adding read-only properties, that work in the case where the value is in memory.

This is part of the ACPI series, since there was a bug here I'm resending just this chunk for more review.

Changes from v1:
don't pass pointer to visitor directly since it writes there
fixes crash reported by Gerd

Michael S. Tsirkin (4):
qemu: add Error to typedefs
qom: pull in qemu/typedefs
qom: cleanup struct Error references
qom: add pointer to int property helpers

 include/qemu/typedefs.h |  1 +
 include/qom/object.h    | 73 +++++++++++++++++++++++++++++++------------------
 qom/object.c            | 60 ++++++++++++++++++++++++++++++++++++++++
 3 files changed, 108 insertions(+), 26 deletions(-)
Signature · 1 line
MST