lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20240313-pvpanic-shutdown-header-v1-2-7f1970d66366@weissschuh.net>
Date: Wed, 13 Mar 2024 19:19:31 +0100
From: Thomas Weißschuh <linux@...ssschuh.net>
To: linux-kernel@...r.kernel.org, 
 Greg Kroah-Hartman <gregkh@...uxfoundation.org>, 
 Arnd Bergmann <arnd@...db.de>, "Michael S. Tsirkin" <mst@...hat.com>, 
 Thomas Weißschuh <linux@...ssschuh.net>
Subject: [PATCH 2/2] 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@...ssschuh.net>
Acked-by: Arnd Bergmann <arnd@...db.de>
---
 include/uapi/misc/pvpanic.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/uapi/misc/pvpanic.h b/include/uapi/misc/pvpanic.h
index 9ea6a965ca7a..3f1745cd1b52 100644
--- a/include/uapi/misc/pvpanic.h
+++ b/include/uapi/misc/pvpanic.h
@@ -7,5 +7,6 @@
 
 #define PVPANIC_PANICKED	_BITUL(0)
 #define PVPANIC_CRASH_LOADED	_BITUL(1)
+#define PVPANIC_SHUTDOWN	_BITUL(2)
 
 #endif /* __PVPANIC_H__ */

-- 
2.44.0


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ