Re: [RFC PATCH 01/40] qdev: Don't always force the global property array non-null

2023-01-05 Thread Philippe Mathieu-Daudé
On 3/1/23 19:16, Richard Henderson wrote: Only qdev_prop_register_global requires a non-null array. The other instances can simply exit early. Signed-off-by: Richard Henderson --- hw/core/qdev-properties.c | 43 --- 1 file changed, 27 insertions(+), 16 del

[RFC PATCH 01/40] qdev: Don't always force the global property array non-null

2023-01-03 Thread Richard Henderson
Only qdev_prop_register_global requires a non-null array. The other instances can simply exit early. Signed-off-by: Richard Henderson --- hw/core/qdev-properties.c | 43 --- 1 file changed, 27 insertions(+), 16 deletions(-) diff --git a/hw/core/qdev-propertie