------- Comment From <email address hidden> 2019-01-22 04:31 EDT-------
The attached test case is a minimal kernel generated via the kvm unit test repo.
It has to be executed via qemu kernel boot, the command and expected output in both cases are below.
The path to qemu at the start of the command might need adjustment.
------- Comment From <email address hidden> 2019-01-22 04:31 EDT-------
The attached test case is a minimal kernel generated via the kvm unit test repo.
It has to be executed via qemu kernel boot, the command and expected output in both cases are below.
The path to qemu at the start of the command might need adjustment.
Command: bin/qemu- system- s390x -nodefaults -nographic -machine s390-ccw- virtio, accel=kvm -chardev stdio,id=con0 -device sclpconsole, chardev= con0 -kernel s390x/diag308.elf
/usr/local/
Output on unfixed qemu: 00000 R01=00000000000 00000 R02=00000000000 00002 R03=00000000000 00000 134ae R05=00000000000 3fdd8 R06=00000000000 00000 R07=00000000000 00000 00000 R09=00000000000 00000 R10=00000000000 00000 R11=00000000000 00000 00000 R13=00000000000 00000 R14=00000000000 134ae R15=00000000000 3fec0 000000000000000 000000 V01=00000000000 000000000000000 000000 000000000000000 000000 V03=00000000000 000000000000000 000000 000000000000000 000000 V05=00000000000 000000000000000 000000 000000000000000 000000 V07=00000000000 000000000000000 000000 000000000000000 000000 V09=00000000000 000000000000000 000000 000000000000000 000000 V11=00000000000 000000000000000 000000 000000000000000 000000 V13=00000000000 000000000000000 000000 000000000000000 000000 V15=00000000000 000000000000000 000000 000000000000000 000000 V17=00000000000 000000000000000 000000 000000000000000 000000 V19=00000000000 000000000000000 000000 000000000000000 000000 V21=00000000000 000000000000000 000000 000000000000000 000000 V23=00000000000 000000000000000 000000 000000000000000 000000 V25=00000000000 000000000000000 000000 000000000000000 000000 V27=00000000000 000000000000000 000000 000000000000000 000000 V29=00000000000 000000000000000 000000 000000000000000 000000 V31=00000000000 000000000000000 000000 40000 C01=00000000000 00000 C02=00000000000 00000 C03=00000000000 00000 00000 C05=00000000000 00000 C06=00000000000 00000 C07=00000000000 00000 00000 C09=00000000000 00000 C10=00000000000 00000 C11=00000000000 00000 00000 C13=00000000000 00000 C14=00000000c20 00000 C15=00000000000 00000
qemu: hardware error: Unhandled diag308 subcode 2
CPU #0:
PSW=mask 0000100180000000 addr 00000000000134be cc 00
R00=00000000000
R04=00000000000
R08=00000000000
R12=00000000000
V00=00000000000
V02=00000000000
V04=00000000000
V06=00000000000
V08=00000000000
V10=00000000000
V12=00000000000
V14=00000000000
V16=00000000000
V18=00000000000
V20=00000000000
V22=00000000000
V24=00000000000
V26=00000000000
V28=00000000000
V30=00000000000
C00=00000000000
C04=00000000000
C08=00000000000
C12=00000000000
QEMU Aborted
Command: bin/qemu- system- s390x -nodefaults -nographic -machine s390-ccw- virtio, accel=kvm -chardev stdio,id=con0 -device sclpconsole, chardev= con0 -kernel s390x/diag308.elf
/usr/local/
Output on fixed qemu:
ABORT: diag308: Unexpected program interrupt: 6 at 0x134be, ilen 4
SUMMARY: 0 tests
EXIT: STATUS=127