summaryrefslogtreecommitdiff
path: root/hw/s390x
diff options
context:
space:
mode:
authorJason J. Herne <jjherne@us.ibm.com>2014-01-20 14:51:48 -0500
committerChristian Borntraeger <borntraeger@de.ibm.com>2014-01-21 16:20:54 +0100
commit5f04c14a10fa7f259bc0808f35a0beda49f7821e (patch)
treea85d941b7126c29691881a05d3811dbff402c324 /hw/s390x
parent1cf892ca2689c84960b4ce4d2723b6bee453711c (diff)
downloadqemu-5f04c14a10fa7f259bc0808f35a0beda49f7821e.tar.gz
s390-sclp: Define New SCLP Codes
Define new SCLP codes to improve code readability. Signed-off-by: Jason J. Herne <jjherne@us.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'hw/s390x')
-rw-r--r--hw/s390x/sclp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/s390x/sclp.c b/hw/s390x/sclp.c
index 86d6ae0023..cb035e909b 100644
--- a/hw/s390x/sclp.c
+++ b/hw/s390x/sclp.c
@@ -45,7 +45,7 @@ static void sclp_execute(SCCB *sccb, uint64_t code)
{
S390SCLPDevice *sdev = get_event_facility();
- switch (code) {
+ switch (code & SCLP_CMD_CODE_MASK) {
case SCLP_CMDW_READ_SCP_INFO:
case SCLP_CMDW_READ_SCP_INFO_FORCED:
read_SCP_info(sccb);