[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 1/5] target/i386: Restrict qapi/qapi-events-run-state.h to system
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 1/5] target/i386: Restrict qapi/qapi-events-run-state.h to system emulation |
Date: |
Tue, 20 Dec 2022 15:56:21 +0100 |
shutdown / powerdown / suspend_disk / resume / watchdog
are events irrlevant to user emulation.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
target/i386/helper.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/i386/helper.c b/target/i386/helper.c
index 0ac2da066d..dcce27bac1 100644
--- a/target/i386/helper.c
+++ b/target/i386/helper.c
@@ -18,12 +18,12 @@
*/
#include "qemu/osdep.h"
-#include "qapi/qapi-events-run-state.h"
#include "cpu.h"
#include "exec/exec-all.h"
#include "sysemu/runstate.h"
#include "kvm/kvm_i386.h"
#ifndef CONFIG_USER_ONLY
+#include "qapi/qapi-events-run-state.h"
#include "sysemu/hw_accel.h"
#include "monitor/monitor.h"
#endif
--
2.38.1
- [PATCH 0/5] cpus: Remove system reset() API from user emulation, Philippe Mathieu-Daudé, 2022/12/20
- [PATCH 1/5] target/i386: Restrict qapi/qapi-events-run-state.h to system emulation,
Philippe Mathieu-Daudé <=
- [PATCH 2/5] target/i386: Restrict sysemu/reset.h to system emulation, Philippe Mathieu-Daudé, 2022/12/20
- [PATCH 3/5] target/loongarch: Restrict sysemu/reset.h to system emulation, Philippe Mathieu-Daudé, 2022/12/20
- [PATCH 4/5] target/s390x: Restrict sysemu/reset.h to system emulation, Philippe Mathieu-Daudé, 2022/12/20
- [PATCH 5/5] hw/core: Only build CPU reset handlers with system emulation, Philippe Mathieu-Daudé, 2022/12/20
- Re: [PATCH 0/5] cpus: Remove system reset() API from user emulation, Richard Henderson, 2022/12/20
- Re: [PATCH 0/5] cpus: Remove system reset() API from user emulation, Wilfred Mallawa, 2022/12/20