]> git.ipfire.org Git - thirdparty/qemu.git/blobdiff - target/s390x/cpu_models_sysemu.c
Merge tag 'pull-request-2024-05-10' of https://gitlab.com/thuth/qemu into staging
[thirdparty/qemu.git] / target / s390x / cpu_models_sysemu.c
index 15be729c3d480c84306849d945f5aa07ecd20218..977fbc652281ca8246d66646817714a8e08c351e 100644 (file)
@@ -206,6 +206,14 @@ static void cpu_info_from_model(CpuModelInfo *info, const S390CPUModel *model,
     } else {
         info->props = QOBJECT(qdict);
     }
+
+    /* features flagged as deprecated */
+    bitmap_zero(bitmap, S390_FEAT_MAX);
+    s390_get_deprecated_features(bitmap);
+
+    bitmap_and(bitmap, bitmap, model->def->full_feat, S390_FEAT_MAX);
+    s390_feat_bitmap_to_ascii(bitmap, &info->deprecated_props, list_add_feat);
+    info->has_deprecated_props = !!info->deprecated_props;
 }
 
 CpuModelExpansionInfo *qmp_query_cpu_model_expansion(CpuModelExpansionType type,