qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 0/2] qom: Introduce class_post_init() handler


From: Philippe Mathieu-Daudé
Subject: [PATCH 0/2] qom: Introduce class_post_init() handler
Date: Sat, 25 Jan 2025 17:58:53 +0100

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]