diff options
author | Richard Henderson <rth@twiddle.net> | 2012-09-24 14:55:51 -0700 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2012-09-27 21:44:36 +0200 |
commit | 0d404541b24b332f6a822139c6bd889b7e319762 (patch) | |
tree | 3a85694677f1abb3f72b73886b55a43371fffe77 /target-s390x/helper.c | |
parent | daa47c34a893917d712923b107d33f7b89a3a53b (diff) | |
download | qemu-0d404541b24b332f6a822139c6bd889b7e319762.zip qemu-0d404541b24b332f6a822139c6bd889b7e319762.tar.gz qemu-0d404541b24b332f6a822139c6bd889b7e319762.tar.bz2 |
target-s390x: Use CPU_LOG_INT
Three places in the interrupt code did we not honor the mask.
Reviewed-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'target-s390x/helper.c')
-rw-r--r-- | target-s390x/helper.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/target-s390x/helper.c b/target-s390x/helper.c index a5741ec..22256b0 100644 --- a/target-s390x/helper.c +++ b/target-s390x/helper.c @@ -511,7 +511,8 @@ static void do_program_interrupt(CPUS390XState *env) break; } - qemu_log("%s: code=0x%x ilc=%d\n", __func__, env->int_pgm_code, ilc); + qemu_log_mask(CPU_LOG_INT, "%s: code=0x%x ilc=%d\n", + __func__, env->int_pgm_code, ilc); lowcore = cpu_physical_memory_map(env->psa, &len, 1); @@ -575,8 +576,8 @@ static void do_ext_interrupt(CPUS390XState *env) void do_interrupt(CPUS390XState *env) { - qemu_log("%s: %d at pc=%" PRIx64 "\n", __func__, env->exception_index, - env->psw.addr); + qemu_log_mask(CPU_LOG_INT, "%s: %d at pc=%" PRIx64 "\n", + __func__, env->exception_index, env->psw.addr); s390_add_running_cpu(env); /* handle external interrupts */ |