Re: [PATCH v3 2/9] qom: refactor checking abstract property when creating instances

2024-11-15 Thread Peter Xu
On Fri, Nov 15, 2024 at 05:25:14PM +, Daniel P. Berrangé wrote: > Push an Error object into object_initialize_with_type, so that > reporting of attempts to create an abstract type is handled at > the lowest level. > > Signed-off-by: Daniel P. Berrangé Reviewed-by: Peter Xu -- Peter Xu

[PATCH v3 2/9] qom: refactor checking abstract property when creating instances

2024-11-15 Thread Daniel P . Berrangé
Push an Error object into object_initialize_with_type, so that reporting of attempts to create an abstract type is handled at the lowest level. Signed-off-by: Daniel P. Berrangé --- qom/object.c | 30 -- 1 file changed, 20 insertions(+), 10 deletions(-) diff --git a/