diff --git a/hw/acpi/ipmi.c b/hw/acpi/ipmi.c index 7e74ce446001564afdc3d5d8586f3e6eb1e322e1..651e2e94ea965abd4fdb8bfd51ed3fdef1fb0441 100644 --- a/hw/acpi/ipmi.c +++ b/hw/acpi/ipmi.c @@ -99,6 +99,7 @@ void build_acpi_ipmi_devices(Aml *scope, BusState *bus) ii = IPMI_INTERFACE(obj); iic = IPMI_INTERFACE_GET_CLASS(obj); + memset(&info, 0, sizeof(info)); iic->get_fwinfo(ii, &info); aml_append(scope, aml_ipmi_device(&info)); }