diff options
| author | Daniel P. Berrangé <berrange@redhat.com> | 2025-05-22 12:05:37 -0700 |
|---|---|---|
| committer | Markus Armbruster <armbru@redhat.com> | 2025-05-28 18:56:08 +0200 |
| commit | f8d41d0511114edcde8c589ffc76887b3a2dc39b (patch) | |
| tree | e47cf108a3ff2d8f43927dd8cd019c87783802a9 /hw/s390x/cpu-topology.c | |
| parent | d6758495d888e0ef8175824dadcdeb85274c14f1 (diff) | |
| download | focaccia-qemu-f8d41d0511114edcde8c589ffc76887b3a2dc39b.tar.gz focaccia-qemu-f8d41d0511114edcde8c589ffc76887b3a2dc39b.zip | |
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>
Diffstat (limited to 'hw/s390x/cpu-topology.c')
| -rw-r--r-- | hw/s390x/cpu-topology.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/s390x/cpu-topology.c b/hw/s390x/cpu-topology.c index 7d4e1f5472..b513f8936e 100644 --- a/hw/s390x/cpu-topology.c +++ b/hw/s390x/cpu-topology.c @@ -23,8 +23,8 @@ #include "target/s390x/cpu.h" #include "hw/s390x/s390-virtio-ccw.h" #include "hw/s390x/cpu-topology.h" -#include "qapi/qapi-commands-machine-target.h" -#include "qapi/qapi-events-machine-target.h" +#include "qapi/qapi-commands-machine-s390x.h" +#include "qapi/qapi-events-machine-s390x.h" /* * s390_topology is used to keep the topology information. |