summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid Hildenbrand <dahi@linux.vnet.ibm.com>2016-09-05 10:52:31 +0200
committerCornelia Huck <cornelia.huck@de.ibm.com>2016-09-06 17:06:50 +0200
commit3fad3252a362515a44003434cab3766b6b57c985 (patch)
tree061bd25512b2ebe71ca26c347a6b2be4f341fe31 /include
parent059be520d519565636f73496c20b2b8d331fa865 (diff)
downloadqemu-3fad3252a362515a44003434cab3766b6b57c985.tar.gz
s390x/sclp: propagate the mha via sclp
The mha is provided in the CPU model, so get any CPU and extract the value. Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com> Message-Id: <20160905085244.99980-18-dahi@linux.vnet.ibm.com> Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Diffstat (limited to 'include')
-rw-r--r--include/hw/s390x/sclp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/hw/s390x/sclp.h b/include/hw/s390x/sclp.h
index 664be9bf06..dab3c0f268 100644
--- a/include/hw/s390x/sclp.h
+++ b/include/hw/s390x/sclp.h
@@ -124,7 +124,8 @@ typedef struct ReadInfo {
uint8_t _reserved0[76 - 56]; /* 56-75 */
uint32_t ibc_val;
uint8_t conf_char[96 - 80]; /* 80-95 */
- uint8_t _reserved4[100 - 96]; /* 96-99 */
+ uint8_t _reserved4[99 - 96]; /* 96-98 */
+ uint8_t mha_pow;
uint32_t rnsize2;
uint64_t rnmax2;
uint8_t _reserved6[116 - 112]; /* 112-115 */