]> xenbits.xensource.com Git - unikraft/unikraft.git/commit
plat/kvm/shutdown.c: If on a `UEFI` system, rely on Runtime Services
authorSergiu Moga <sergiu.moga@protonmail.com>
Mon, 24 Apr 2023 17:53:52 +0000 (20:53 +0300)
committerUnikraft <monkey@unikraft.io>
Fri, 11 Aug 2023 10:47:30 +0000 (10:47 +0000)
commit170a8a4fb242d908a3cb2c1ad58d36363dfa90ad
tree839390b10efd87ccbd40a53ce136053c063fa34e
parent46d98734ca577da19459dd353567c8d1a66bec5a
plat/kvm/shutdown.c: If on a `UEFI` system, rely on Runtime Services

Preferably, a UEFI system is also an ACPI system and thus these
functionalities should be implemented through ACPI methods. But for
now, make use of UEFI's Runtime Services for resetting the system,
since they are more reliable than what we have at the moment.

Signed-off-by: Sergiu Moga <sergiu.moga@protonmail.com>
Reviewed-by: Michalis Pappas <michalis@unikraft.io>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: #909
plat/kvm/shutdown.c