]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
s390x/cpumodel: fix max STFL(E) bit number
authorDavid Hildenbrand <david@redhat.com>
Thu, 28 Sep 2017 13:46:07 +0000 (15:46 +0200)
committerCornelia Huck <cohuck@redhat.com>
Fri, 6 Oct 2017 08:53:02 +0000 (10:53 +0200)
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>
target/s390x/cpu_features.c

index 1d3a036393921968c3a6474d99654cb664ca2748..31a4676f051093c0dee46ae27bf0d81ad826d76f 100644 (file)
@@ -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;