Hi Heinrich, On Thu, Oct 8, 2026 at 3:49 PM Heinrich Schuchardt <[email protected]> wrote: > > On 10/8/26 07:43, Bin Meng wrote: > > Hi Heinrich, > > > > On Thu, Oct 8, 2026 at 3:09 AM Heinrich Schuchardt > > <[email protected]> wrote: > >> > >> Currently we only support reset but not poweroff on x86 QEMU. > > > > Could we just add the poweroff functionality to the existing sysreset > > driver? > > Hello Bin, > > On x86 the implementation of shutdonwl seems to be chipset specific. In > EDK II in OvmfPackage alone there are 3 drivers implementing > ResetShutdown(). > > On real hardware this is abstracted away via ACPI. > > To have a generic driver we would have to implement parsing the ACPI tables. > > > > > The new driver is missing EFI efi_reset_system() implementation, > > causing EFI reboot failure. > > Maybe we should just keep the poweroff part and keep the preexisting > sysreset driver on QEMU? Which would match the > PcAtChipsetPkg/Library/ResetSystemLib/ResetSystemLib.c driver in EDK II.
Sounds good to me. Regards, Bin
