Commit 0d404541 authored by Richard Henderson's avatar Richard Henderson Committed by Aurelien Jarno
Browse files

target-s390x: Use CPU_LOG_INT

Three places in the interrupt code did we not honor the mask.
Reviewed-by: default avatarAlexander Graf <>
Signed-off-by: default avatarRichard Henderson <>
Signed-off-by: default avatarAurelien Jarno <>
parent daa47c34
......@@ -511,7 +511,8 @@ static void do_program_interrupt(CPUS390XState *env)
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,
qemu_log_mask(CPU_LOG_INT, "%s: %d at pc=%" PRIx64 "\n",
__func__, env->exception_index, env->psw.addr);
/* handle external interrupts */
......@@ -53,7 +53,8 @@ void HELPER(exception)(CPUS390XState *env, uint32_t excp)
void program_interrupt(CPUS390XState *env, uint32_t code, int ilc)
qemu_log("program interrupt at %#" PRIx64 "\n", env->psw.addr);
qemu_log_mask(CPU_LOG_INT, "program interrupt at %#" PRIx64 "\n",
if (kvm_enabled()) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment