summaryrefslogtreecommitdiff
path: root/target/s390x/misc_helper.c
diff options
context:
space:
mode:
authorCornelia Huck <cohuck@redhat.com>2017-08-16 17:30:36 +0200
committerCornelia Huck <cohuck@redhat.com>2017-08-30 18:23:25 +0200
commiteb569af835b400a25e45520e7ea872134dedcd02 (patch)
tree934aab4e3a44d61ea308b493c041b8d23680ec81 /target/s390x/misc_helper.c
parent84ebd3e8c7d4fe955b359b9aac84395907b0412e (diff)
downloadqemu-eb569af835b400a25e45520e7ea872134dedcd02.tar.gz
s390x: wire up diag288 in tcg
Make the diag288 watchdog useable via tcg as well. Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'target/s390x/misc_helper.c')
-rw-r--r--target/s390x/misc_helper.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/s390x/misc_helper.c b/target/s390x/misc_helper.c
index 5a1eba02ab..34d730ba73 100644
--- a/target/s390x/misc_helper.c
+++ b/target/s390x/misc_helper.c
@@ -103,6 +103,10 @@ void HELPER(diag)(CPUS390XState *env, uint32_t r1, uint32_t r3, uint32_t num)
handle_diag_308(env, r1, r3);
r = 0;
break;
+ case 0x288:
+ /* time bomb (watchdog) */
+ r = handle_diag_288(env, r1, r3);
+ break;
default:
r = -1;
break;