]> git.ipfire.org Git - thirdparty/qemu.git/commit
qapi: make most CPU commands unconditionally available
authorDaniel P. Berrangé <berrange@redhat.com>
Thu, 22 May 2025 19:05:36 +0000 (12:05 -0700)
committerMarkus Armbruster <armbru@redhat.com>
Wed, 28 May 2025 16:55:50 +0000 (18:55 +0200)
commitd6758495d888e0ef8175824dadcdeb85274c14f1
treefd454a64dc796219173f8dcb6a8216da1aa0d04b
parent448553bb7c2a2fe518d7dc41c58a25d6d31831da
qapi: make most CPU commands unconditionally available

This removes the TARGET_* conditions from all the CPU commands
that are conceptually target independent. Top level stubs are
provided to cope with targets which do not currently implement
all of the commands. Adjust the doc comments accordingly.

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-10-pierrick.bouvier@linaro.org>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
14 files changed:
MAINTAINERS
qapi/machine-target.json
qapi/machine.json
stubs/meson.build
stubs/monitor-cpu-s390x.c [new file with mode: 0644]
stubs/monitor-cpu.c [new file with mode: 0644]
target/arm/arm-qmp-cmds.c
target/i386/cpu-system.c
target/i386/cpu.c
target/loongarch/loongarch-qmp-cmds.c
target/mips/system/mips-qmp-cmds.c
target/ppc/ppc-qmp-cmds.c
target/riscv/riscv-qmp-cmds.c
target/s390x/cpu_models_system.c