Re: [PATCH 2/5] shutdown: Use new acpi RPC to halt machine, clean up

2022-09-05 Thread Samuel Thibault
Damien Zammit, le dim. 04 sept. 2022 03:47:14 +, a ecrit: > This allows clean shutdown of all modern x86 machines > (not just qemu) by using the acpi translator to call > into libacpica code. Way less hardcoded :D > diff --git a/shutdown/shutdown.c b/shutdown/shutdown.c > index f821b1f2..a4cc

[PATCH 2/5] shutdown: Use new acpi RPC to halt machine, clean up

2022-09-03 Thread Damien Zammit
This allows clean shutdown of all modern x86 machines (not just qemu) by using the acpi translator to call into libacpica code. --- shutdown/Makefile| 2 +- shutdown/acpi_shutdown.c | 66 shutdown/acpi_shutdown.h | 18 --- shutdown/shutdown