aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Hildenbrand <david@redhat.com>2017-09-28 15:46:07 +0200
committerCornelia Huck <cohuck@redhat.com>2017-10-06 10:53:02 +0200
commitc547a757f492cb037aec81965893046b7ef6d201 (patch)
treeebeac5f2234516ee1333b30336ba54f660fef12b
parentc5b934303cf83fe3dda31e8d3e5778458c8a9eeb (diff)
downloadqemu-c547a757f492cb037aec81965893046b7ef6d201.zip
qemu-c547a757f492cb037aec81965893046b7ef6d201.tar.gz
qemu-c547a757f492cb037aec81965893046b7ef6d201.tar.bz2
s390x/cpumodel: fix max STFL(E) bit number
Not that it would matter in the near future, but it is actually 2048 bytes, therefore 16384 possible bits. Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: David Hildenbrand <david@redhat.com> Message-Id: <20170928134609.16985-4-david@redhat.com> Signed-off-by: Cornelia Huck <cohuck@redhat.com>
-rw-r--r--target/s390x/cpu_features.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/s390x/cpu_features.c b/target/s390x/cpu_features.c
index 1d3a036..31a4676 100644
--- a/target/s390x/cpu_features.c
+++ b/target/s390x/cpu_features.c
@@ -381,7 +381,7 @@ void s390_add_from_feat_block(S390FeatBitmap features, S390FeatType type,
switch (type) {
case S390_FEAT_TYPE_STFL:
- nr_bits = 2048;
+ nr_bits = 16384;
break;
case S390_FEAT_TYPE_PLO:
nr_bits = 256;