target: Restrict 'sysemu/reset.h' to system emulation
vCPU "reset" is only possible with system emulation. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Warner Losh <imp@bsdimp.com> Reviewed-by: Song Gao <gaosong@loongson.cn> Message-ID: <20231212113640.30287-5-philmd@linaro.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Zhao Liu <zhao1.liu@intel.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
parent
e1c85e5f0f
commit
c0f6cd9f67
@ -24,7 +24,6 @@
|
||||
#include "qemu/hw-version.h"
|
||||
#include "cpu.h"
|
||||
#include "tcg/helper-tcg.h"
|
||||
#include "sysemu/reset.h"
|
||||
#include "sysemu/hvf.h"
|
||||
#include "hvf/hvf-i386.h"
|
||||
#include "kvm/kvm_i386.h"
|
||||
@ -37,6 +36,7 @@
|
||||
#include "hw/qdev-properties.h"
|
||||
#include "hw/i386/topology.h"
|
||||
#ifndef CONFIG_USER_ONLY
|
||||
#include "sysemu/reset.h"
|
||||
#include "qapi/qapi-commands-machine-target.h"
|
||||
#include "exec/address-spaces.h"
|
||||
#include "hw/boards.h"
|
||||
|
@ -17,7 +17,9 @@
|
||||
#include "internals.h"
|
||||
#include "fpu/softfloat-helpers.h"
|
||||
#include "cpu-csr.h"
|
||||
#ifndef CONFIG_USER_ONLY
|
||||
#include "sysemu/reset.h"
|
||||
#endif
|
||||
#include "tcg/tcg.h"
|
||||
#include "vec.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user