]> Git Repo - qemu.git/blobdiff - target-s390x/ioinst.c
s390x/ioinst: set type and len for SEI response
[qemu.git] / target-s390x / ioinst.c
index 77f2a1fb96f849433c8f5d7d2c626618bd19bc0b..57c2d8b226d52eebc97acbe3816bd04ab08ad328 100644 (file)
@@ -616,7 +616,8 @@ static void ioinst_handle_chsc_sei(ChscReq *req, ChscResp *res)
             (*res_flags) &= ~0x80;
         }
     } else {
-        res->code = cpu_to_be16(0x0004);
+        res->code = cpu_to_be16(0x0005);
+        res->len = cpu_to_be16(CHSC_MIN_RESP_LEN);
     }
 }
 
This page took 0.023754 seconds and 4 git commands to generate.