target/s390x: Restrict sysemu/reset.h to system emulation
commit057733f2e57e9793db6cc74e0df56dcb0bfe1bee
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 20 Dec 2022 14:56:24 +0000 (20 15:56 +0100)
committerThomas Huth <thuth@redhat.com>
Mon, 9 Jan 2023 12:50:13 +0000 (9 13:50 +0100)
tree4582346ba630e6f6f03d3f8505b72afee0bc7820
parente4272df0987366a96ac10a3961aa2eccbb42d41f
target/s390x: Restrict sysemu/reset.h to system emulation

In user emulation, threads -- implemented as CPU -- are
created/destroyed, but never reset. There is no point in
allowing the user emulation access the sysemu/reset API.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20221220145625.26392-5-philmd@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
target/s390x/cpu.c