aboutsummaryrefslogtreecommitdiff
path: root/include/standard-headers
diff options
context:
space:
mode:
authorzhenwei pi <pizhenwei@bytedance.com>2022-02-21 20:27:16 +0800
committerMichael S. Tsirkin <mst@redhat.com>2022-03-06 05:08:23 -0500
commitfcbd14db633a1b8a6de3cd2802d6d18aebe499f5 (patch)
tree0265437c658424a29046be4583dd39c7e01635a8 /include/standard-headers
parenta105813ac09f5a83137bbec923ee4805335b7242 (diff)
headers: Add pvpanic.h
Since 2020, linux kernel started to export pvpanic.h. Import the latest version from linux into QEMU. Signed-off-by: zhenwei pi <pizhenwei@bytedance.com> Message-Id: <20220221122717.1371010-1-pizhenwei@bytedance.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'include/standard-headers')
-rw-r--r--include/standard-headers/linux/pvpanic.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/standard-headers/linux/pvpanic.h b/include/standard-headers/linux/pvpanic.h
new file mode 100644
index 0000000000..54b7485390
--- /dev/null
+++ b/include/standard-headers/linux/pvpanic.h
@@ -0,0 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
+
+#ifndef __PVPANIC_H__
+#define __PVPANIC_H__
+
+#define PVPANIC_PANICKED (1 << 0)
+#define PVPANIC_CRASH_LOADED (1 << 1)
+
+#endif /* __PVPANIC_H__ */