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

2025-01-27 Thread Paolo Bonzini
On 1/25/25 17:58, Philippe Mathieu-Daudé wrote: 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

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

2025-01-26 Thread Richard Henderson
On 1/25/25 08:58, Philippe Mathieu-Daudé wrote: 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

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

2025-01-25 Thread 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: Introd