From: Alexander Gryanko <[email protected]> Added DEFINE_PROP_END_OF_LIST() to the Property structure definition. This fixes the device_class_set_legacy_reset error when accessing the prop->info field.
Signed-off-by: Alexander Gryanko <[email protected]> --- hw/uefi/var-service-sysbus.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/uefi/var-service-sysbus.c b/hw/uefi/var-service-sysbus.c index a5aa218e26..a19591b1c3 100644 --- a/hw/uefi/var-service-sysbus.c +++ b/hw/uefi/var-service-sysbus.c @@ -39,6 +39,7 @@ static const Property uefi_vars_sysbus_properties[] = { state.disable_custom_mode, false), DEFINE_PROP_BOOL("use-pio", uefi_vars_sysbus_state, state.use_pio, false), + DEFINE_PROP_END_OF_LIST(), }; static void uefi_vars_sysbus_init(Object *obj) --- base-commit: f3f2ad119347e8c086b72282febcaac5d731b343 change-id: 20251012-pvvars-fix-props-5a8509b47420 Best regards, -- Alexander Gryanko <[email protected]>
