qemu/target/s390x
Collin Walling eed0e8ffa3 target/s390x: filter deprecated properties based on model expansion type
Currently, there is no way to execute the query-cpu-model-expansion
command to retrieve a comprehenisve list of deprecated properties, as
the result is dependent per-model. To enable this, the expansion output
is modified as such:

When reporting a "full" CPU model, show the *entire* list of deprecated
properties regardless if they are supported on the model. A full
expansion outputs all known CPU model properties anyway, so it makes
sense to report all deprecated properties here too.

This allows management apps to query a single model (e.g. host) to
acquire the full list of deprecated properties.

Additionally, when reporting a "static" CPU model, the command will
only show deprecated properties that are a subset of the model's
*enabled* properties. This is more accurate than how the query was
handled before, which blindly reported deprecated properties that
were never otherwise introduced for certain models.

Acked-by: David Hildenbrand <david@redhat.com>
Suggested-by: Jiri Denemark <jdenemar@redhat.com>
Signed-off-by: Collin Walling <walling@linux.ibm.com>
Message-ID: <20240719181741.35146-1-walling@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
2024-07-22 13:56:11 +02:00
..
kvm gdbstub: move enums into separate header 2024-06-24 10:14:17 +01:00
tcg target/s390x: Use s390_skeys_get|set() helper 2024-06-19 12:42:03 +02:00
arch_dump.c target/s390x/arch_dump: use correct byte order for pid 2024-06-24 08:13:58 +02:00
cpu_features_def.h meson: rename .inc.h files to .h.inc 2020-08-21 06:18:35 -04:00
cpu_features_def.h.inc s390x: correct typos 2024-02-21 08:16:58 +03:00
cpu_features.c target/s390x: flag te and cte as deprecated 2024-05-10 08:34:29 +02:00
cpu_features.h target/s390x: report deprecated-props in cpu-model-expansion reply 2024-05-10 08:34:20 +02:00
cpu_models_sysemu.c target/s390x: filter deprecated properties based on model expansion type 2024-07-22 13:56:11 +02:00
cpu_models_user.c target/s390x: split sysemu part of cpu models 2021-07-07 14:01:59 +02:00
cpu_models.c target/s390x: Add a CONFIG switch to disable legacy CPUs 2024-06-24 08:22:30 +02:00
cpu_models.h target/s390x/cpu_models: Make kvm_s390_apply_cpu_model() return boolean 2024-04-30 06:21:47 +02:00
cpu-dump.c target/s390x: Prefer fast cpu_env() over slower CPU QOM cast macro 2024-02-06 10:27:50 +01:00
cpu-param.h target: Define TCG_GUEST_DEFAULT_MO in 'cpu-param.h' 2024-04-26 15:31:37 +02:00
cpu-qom.h target: Move ArchCPUClass definition to 'cpu.h' 2023-11-07 13:08:48 +01:00
cpu-sysemu.c s390x/cpu topology: resetting the Topology-Change-Report 2023-10-20 07:16:53 +02:00
cpu.c target: Set TCGCPUOps::cpu_exec_halt to target's has_work implementation 2024-07-11 11:41:34 +01:00
cpu.h target/s390x: Record separate PER bits in TB flags 2024-05-29 12:41:15 +02:00
diag.c target/s390x: Use env_archcpu() in handle_diag_308() 2023-11-07 12:13:27 +01:00
gdbstub.c gdbstub: Change gdb_get_reg_cb and gdb_set_reg_cb 2024-02-28 09:09:49 +00:00
gen-features.c target/s390x: AP-passthrough for PV guests 2023-09-12 11:35:46 +02:00
helper.c target/s390x: Prefer fast cpu_env() over slower CPU QOM cast macro 2024-02-06 10:27:50 +01:00
helper.h target/s390x: Simplify per_ifetch, per_check_exception 2024-05-29 12:41:15 +02:00
interrupt.c target/s390x: move kvm files into kvm/ 2021-07-07 14:01:59 +02:00
ioinst.c hw/s390x: Move KVM specific PV from hw/ to target/s390x/kvm/ 2023-07-10 15:34:23 +02:00
Kconfig target/s390x: Add a CONFIG switch to disable legacy CPUs 2024-06-24 08:22:30 +02:00
machine.c target/s390x: Constify VMState in machine.c 2023-12-29 11:17:30 +11:00
meson.build meson: Rename target_softmmu_arch -> target_system_arch 2023-10-07 19:03:07 +02:00
mmu_helper.c target/s390x: Use s390_skeys_get|set() helper 2024-06-19 12:42:03 +02:00
s390x-internal.h target/s390x: Fix float_comp_to_cc() prototype 2023-03-24 11:46:08 +01:00
sigp.c s390x: move s390_cpu_addr2state to target/s390x/sigp.c 2024-05-10 15:45:15 +02:00
trace-events target/s390x: Use s390_skeys_get|set() helper 2024-06-19 12:42:03 +02:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00