All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] qom: Introduce class_post_init() handler
@ 2025-01-25 16:58 Philippe Mathieu-Daudé
  2025-01-25 16:58 ` [PATCH 1/2] qom: Declare class_base_init() before class_init() Philippe Mathieu-Daudé
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Philippe Mathieu-Daudé @ 2025-01-25 16:58 UTC (permalink / raw)
  To: qemu-devel
  Cc: Daniel P. Berrangé, qemu-rust, Eduardo Habkost,
	Manos Pitsidianakis, Paolo Bonzini, Markus Armbruster,
	Philippe Mathieu-Daudé

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(-)

-- 
2.47.1



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-01-27 14:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-25 16:58 [PATCH 0/2] qom: Introduce class_post_init() handler Philippe Mathieu-Daudé
2025-01-25 16:58 ` [PATCH 1/2] qom: Declare class_base_init() before class_init() Philippe Mathieu-Daudé
2025-01-25 16:58 ` [PATCH 2/2] qom: Introduce class_post_init() handler Philippe Mathieu-Daudé
2025-01-27  7:00   ` Markus Armbruster
2025-01-27  8:06     ` Philippe Mathieu-Daudé
2025-01-26 12:28 ` [PATCH 0/2] " Richard Henderson
2025-01-27  8:26 ` Paolo Bonzini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.