mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
hw/uefi: return success for notifications
Set status to SUCCESS for ready-to-boot and exit-boot-services notification calls. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-ID: <20250811130110.820958-2-kraxel@redhat.com>
This commit is contained in:
@@ -702,12 +702,14 @@ uint32_t uefi_vars_mm_vars_proto(uefi_vars_state *uv)
|
||||
case SMM_VARIABLE_FUNCTION_READY_TO_BOOT:
|
||||
trace_uefi_event("ready-to-boot");
|
||||
uv->ready_to_boot = true;
|
||||
mvar->status = EFI_SUCCESS;
|
||||
length = 0;
|
||||
break;
|
||||
|
||||
case SMM_VARIABLE_FUNCTION_EXIT_BOOT_SERVICE:
|
||||
trace_uefi_event("exit-boot-service");
|
||||
uv->exit_boot_service = true;
|
||||
mvar->status = EFI_SUCCESS;
|
||||
length = 0;
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user