aboutsummaryrefslogtreecommitdiff
path: root/target/s390x
diff options
context:
space:
mode:
authorChristian Borntraeger <borntraeger@de.ibm.com>2021-09-07 10:10:17 +0000
committerThomas Huth <thuth@redhat.com>2021-09-07 13:36:43 +0200
commit30e398f796d882d829162a16ab7c920f7422da3b (patch)
tree454ffe03e17daccb4ed7c8eeeb41dd139e2f4f50 /target/s390x
parented3288ff8f8aab9b6602484dfcc09d5b59fb84fc (diff)
downloadqemu-30e398f796d882d829162a16ab7c920f7422da3b.zip
qemu-30e398f796d882d829162a16ab7c920f7422da3b.tar.gz
qemu-30e398f796d882d829162a16ab7c920f7422da3b.tar.bz2
s390x/cpumodel: Add more feature to gen16 default model
Add the new gen16 features to the default model and fence them for machine version 6.1 and earlier. Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Reviewed-by: David Hildenbrand <david@redhat.com> Message-Id: <20210907101017.27126-1-borntraeger@de.ibm.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'target/s390x')
-rw-r--r--target/s390x/gen-features.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/target/s390x/gen-features.c b/target/s390x/gen-features.c
index 7d85322..7cb1a6e 100644
--- a/target/s390x/gen-features.c
+++ b/target/s390x/gen-features.c
@@ -663,7 +663,13 @@ static uint16_t default_GEN15_GA1[] = {
S390_FEAT_ETOKEN,
};
-#define default_GEN16_GA1 EmptyFeat
+static uint16_t default_GEN16_GA1[] = {
+ S390_FEAT_NNPA,
+ S390_FEAT_VECTOR_PACKED_DECIMAL_ENH2,
+ S390_FEAT_BEAR_ENH,
+ S390_FEAT_RDP,
+ S390_FEAT_PAI,
+};
/* QEMU (CPU model) features */