[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 5/5] hw/core: Only build CPU reset handlers with system emulation
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 5/5] hw/core: Only build CPU reset handlers with system emulation |
Date: |
Tue, 20 Dec 2022 15:56:25 +0100 |
In user emulation, threads -- implemented as CPU -- are
created/destroyed, but never reset. There is no point in
providing the sysemu/reset handlers there.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
hw/core/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/core/meson.build b/hw/core/meson.build
index 7a4d02b6c0..ce6fdb0064 100644
--- a/hw/core/meson.build
+++ b/hw/core/meson.build
@@ -3,7 +3,6 @@ hwcore_ss.add(files(
'bus.c',
'qdev-properties.c',
'qdev.c',
- 'reset.c',
'resettable.c',
'vmstate-if.c',
# irq.c needed for qdev GPIO handling:
@@ -15,6 +14,7 @@ if have_system
hwcore_ss.add(files(
'hotplug.c',
'qdev-hotplug.c',
+ 'reset.c',
))
else
hwcore_ss.add(files(
--
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é, 2022/12/20
- [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é <=
- 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