]> git.ipfire.org Git - thirdparty/qemu.git/commit
qapi: Make CpuModelExpansionInfo::deprecated-props optional and generic
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 22 May 2025 19:05:35 +0000 (12:05 -0700)
committerMarkus Armbruster <armbru@redhat.com>
Wed, 28 May 2025 16:54:18 +0000 (18:54 +0200)
commit448553bb7c2a2fe518d7dc41c58a25d6d31831da
treeed15bdab81811ac0ab74cd89fe04c59d9272db6e
parent0a1f83c3fb63229a77e2d0c5f1fe5d7e09dbf3b7
qapi: Make CpuModelExpansionInfo::deprecated-props optional and generic

We'd like to have some unified QAPI schema. Having a structure field
conditional to a target being built in is not very practical.

While @deprecated-props is only used by s390x target, it is generic
enough and could be used by other targets (assuming we expand
CpuModelExpansionType enum values).

Let's always include this field, regardless of the target, but make it
optional. This is not a compatibility break only because the field
remains present always on S390x.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-ID: <20250522190542.588267-9-pierrick.bouvier@linaro.org>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
qapi/machine-target.json