aboutsummaryrefslogtreecommitdiff
path: root/include/hw/misc
diff options
context:
space:
mode:
authorzhenwei pi <pizhenwei@bytedance.com>2022-02-21 20:27:17 +0800
committerMichael S. Tsirkin <mst@redhat.com>2022-03-06 05:08:23 -0500
commit45d8c0520bd1877d6a34f2c1abaa1df0a9ce9947 (patch)
treee5b67c5a29f92a2a1fc5678836413a85cabdabba /include/hw/misc
parentfcbd14db633a1b8a6de3cd2802d6d18aebe499f5 (diff)
downloadqemu-45d8c0520bd1877d6a34f2c1abaa1df0a9ce9947.zip
qemu-45d8c0520bd1877d6a34f2c1abaa1df0a9ce9947.tar.gz
qemu-45d8c0520bd1877d6a34f2c1abaa1df0a9ce9947.tar.bz2
hw/misc/pvpanic: Use standard headers instead
QEMU side has already imported pvpanic.h from linux, remove bit definitions from include/hw/misc/pvpanic.h, and use include/standard-headers/linux/pvpanic.h instead. Also minor changes for PVPANIC_CRASHLOADED -> PVPANIC_CRASH_LOADED. Signed-off-by: zhenwei pi <pizhenwei@bytedance.com> Message-Id: <20220221122717.1371010-2-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/hw/misc')
-rw-r--r--include/hw/misc/pvpanic.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/hw/misc/pvpanic.h b/include/hw/misc/pvpanic.h
index ca3c5bb..7f16cc9 100644
--- a/include/hw/misc/pvpanic.h
+++ b/include/hw/misc/pvpanic.h
@@ -22,14 +22,6 @@
#define PVPANIC_IOPORT_PROP "ioport"
-/* The bit of supported pv event, TODO: include uapi header and remove this */
-#define PVPANIC_F_PANICKED 0
-#define PVPANIC_F_CRASHLOADED 1
-
-/* The pv event value */
-#define PVPANIC_PANICKED (1 << PVPANIC_F_PANICKED)
-#define PVPANIC_CRASHLOADED (1 << PVPANIC_F_CRASHLOADED)
-
/*
* PVPanicState for any device type
*/