diff options
author | Collin Walling <walling@linux.ibm.com> | 2024-04-29 15:10:58 -0400 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2024-05-10 08:34:20 +0200 |
commit | 8aa2211e855df79ddd363e5f0d8c4d7d4c376e16 (patch) | |
tree | 0b2b2bd7b362ed5388e1507ab5280ed3aa7db6fc /qapi | |
parent | 3d9836e46dbe1e46c39fe76a62d3085a71ddbf7a (diff) | |
download | qemu-8aa2211e855df79ddd363e5f0d8c4d7d4c376e16.zip qemu-8aa2211e855df79ddd363e5f0d8c4d7d4c376e16.tar.gz qemu-8aa2211e855df79ddd363e5f0d8c4d7d4c376e16.tar.bz2 |
target/s390x: report deprecated-props in cpu-model-expansion reply
Retain a list of deprecated features disjoint from any particular
CPU model. A query-cpu-model-expansion reply will now provide a list of
properties (i.e. features) that are flagged as deprecated. Example:
{
"return": {
"model": {
"name": "z14.2-base",
"deprecated-props": [
"bpb",
"csske"
],
"props": {
"pfmfi": false,
"exrl": true,
...a lot more props...
"skey": false,
"vxpdeh2": false
}
}
}
}
It is recommended that s390 guests operate with these features
explicitly disabled to ensure compatibility with future hardware.
Signed-off-by: Collin Walling <walling@linux.ibm.com>
Acked-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Message-ID: <20240429191059.11806-2-walling@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'qapi')
-rw-r--r-- | qapi/machine-target.json | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/qapi/machine-target.json b/qapi/machine-target.json index 29e695a..2942853 100644 --- a/qapi/machine-target.json +++ b/qapi/machine-target.json @@ -20,11 +20,16 @@ # # @props: a dictionary of QOM properties to be applied # +# @deprecated-props: a list of properties that are flagged as deprecated +# by the CPU vendor. These props are a subset of the full model's +# definition list of properties. (since 9.1) +# # Since: 2.8 ## { 'struct': 'CpuModelInfo', 'data': { 'name': 'str', - '*props': 'any' } } + '*props': 'any', + '*deprecated-props': ['str'] } } ## # @CpuModelExpansionType: |