mirror of
https://gitlab.com/qemu-project/qemu.git
synced 2025-10-30 07:57:14 +08:00
qapi: make s390x specific CPU commands unconditionally available
This removes the TARGET_S390X and CONFIG_KVM conditions from the CPU commands that are conceptually specific to s390x. Top level stubs are provided to cope with non-s390x targets, or builds without KVM. The removal of CONFIG_KVM is justified by the fact there is no conceptual difference between running 'qemu-system-s390x -accel tcg' on a build with and without KVM built-in, so apps only using TCG can't rely on the CONFIG_KVM in the schema. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Message-ID: <20250522190542.588267-11-pierrick.bouvier@linaro.org> Reviewed-by: Markus Armbruster <armbru@redhat.com>
This commit is contained in:
committed by
Markus Armbruster
parent
d6758495d8
commit
f8d41d0511
@ -84,6 +84,7 @@ if have_system
|
||||
stub_ss.add(files('monitor-i386-xen.c'))
|
||||
stub_ss.add(files('monitor-cpu.c'))
|
||||
stub_ss.add(files('monitor-cpu-s390x.c'))
|
||||
stub_ss.add(files('monitor-cpu-s390x-kvm.c'))
|
||||
endif
|
||||
|
||||
if have_system or have_user
|
||||
|
||||
Reference in New Issue
Block a user