Skip to content

qom: Introduce class_post_init() handler

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2qom: Declare class_base_init() before class_init()include/qom/object.h qom/object.c rust/qemu-api/src/qom.rs+8 -80 replies
2/2qom: Introduce class_post_init() handlerinclude/qom/object.h qom/object.c rust/qemu-api/src/qom.rs+21 -22 replies

Reviews trailers per patch

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

PatchRichard HendersonPaolo Bonzini
SeriesR-b A-b
1/2
2/2

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 0/2] qom: Introduce class_post_init() handler

Add a class_post_init() handler to be called by parents *after* child class_init() handler is called. This is necessary to have parent class check children properly set some values or mandatory handlers.

Philippe Mathieu-Daudé (2):
qom: Declare class_base_init() before class_init()
qom: Introduce class_post_init() handler

 include/qom/object.h     | 17 ++++++++++-------
 qom/object.c             | 14 ++++++++++++--
 rust/qemu-api/src/qom.rs |  8 +++++++-
 3 files changed, 29 insertions(+), 10 deletions(-)
Signature · 1 line
2.47.1