]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/s390x: report deprecated-props in cpu-model-expansion reply
authorCollin Walling <walling@linux.ibm.com>
Mon, 29 Apr 2024 19:10:58 +0000 (15:10 -0400)
committerThomas Huth <thuth@redhat.com>
Fri, 10 May 2024 06:34:20 +0000 (08:34 +0200)
commit8aa2211e855df79ddd363e5f0d8c4d7d4c376e16
tree0b2b2bd7b362ed5388e1507ab5280ed3aa7db6fc
parent3d9836e46dbe1e46c39fe76a62d3085a71ddbf7a
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>
qapi/machine-target.json
target/s390x/cpu_features.c
target/s390x/cpu_features.h
target/s390x/cpu_models_sysemu.c