misc/pvpanic: add shutdown event definition
authorThomas Weißschuh <linux@weissschuh.net>
Wed, 13 Mar 2024 18:19:31 +0000 (19:19 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 Apr 2024 13:12:10 +0000 (15:12 +0200)
commitad76f3e8f57cef368fa98f2d4d8902ad66481a3e
tree5cd7e8ae94c165071634c0eb78b38428c99cfc2f
parent043327875298030095f9c5d04bd41def28275175
misc/pvpanic: add shutdown event definition

Shutdown requests are normally hardware dependent.
By extending pvpanic to also handle shutdown requests, guests can
submit such requests with an easily implementable and cross-platform
mechanism.

The event was added to the specification in qemu commit
73279cecca03 ("docs/specs/pvpanic: document shutdown event").

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20240313-pvpanic-shutdown-header-v1-2-7f1970d66366@weissschuh.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/uapi/misc/pvpanic.h