diff options
author | David Hildenbrand <dahi@linux.vnet.ibm.com> | 2016-09-05 10:52:30 +0200 |
---|---|---|
committer | Cornelia Huck <cornelia.huck@de.ibm.com> | 2016-09-06 17:06:50 +0200 |
commit | 059be520d519565636f73496c20b2b8d331fa865 (patch) | |
tree | c8cb8c7ff40dbae188eafd994d98f7c7a806c466 /hw | |
parent | 4dd4200ee7b4bc4b383932720bc53accf85cc8b2 (diff) | |
download | qemu-059be520d519565636f73496c20b2b8d331fa865.zip qemu-059be520d519565636f73496c20b2b8d331fa865.tar.gz qemu-059be520d519565636f73496c20b2b8d331fa865.tar.bz2 |
s390x/sclp: propagate the ibc val (lowest and unblocked ibc)
If we have a lowest ibc, we can indicate the ibc to the guest.
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Message-Id: <20160905085244.99980-17-dahi@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/s390x/sclp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/s390x/sclp.c b/hw/s390x/sclp.c index 844cdb9..e24b716 100644 --- a/hw/s390x/sclp.c +++ b/hw/s390x/sclp.c @@ -67,6 +67,8 @@ static void read_SCP_info(SCLPDevice *sclp, SCCB *sccb) read_info->offset_cpu = cpu_to_be16(offsetof(ReadInfo, entries)); read_info->highest_cpu = cpu_to_be16(max_cpus); + read_info->ibc_val = cpu_to_be32(s390_get_ibc_val()); + /* Configuration Characteristic (Extension) */ s390_get_feat_block(S390_FEAT_TYPE_SCLP_CONF_CHAR, read_info->conf_char); |