diff options
author | malc <av1474@comtv.ru> | 2012-08-27 18:33:12 +0400 |
---|---|---|
committer | malc <av1474@comtv.ru> | 2012-08-27 18:33:12 +0400 |
commit | 4f213879f3cc695644cfd8bf603495e7316c78f6 (patch) | |
tree | e0960d52567c10aaa0e1df2182dc677a70be0efc /cpu-exec.c | |
parent | b3167288367f79754b74ad933146e37938ebff13 (diff) | |
download | qemu-4f213879f3cc695644cfd8bf603495e7316c78f6.tar.gz qemu-4f213879f3cc695644cfd8bf603495e7316c78f6.tar.bz2 qemu-4f213879f3cc695644cfd8bf603495e7316c78f6.zip |
Revert "i8259: add -no-spurious-interrupt-hack option"
This reverts commit f278d4947fff814dcde2ef2acad36d172ff8be35.
Signed-off-by: malc <av1474@comtv.ru>
Diffstat (limited to 'cpu-exec.c')
-rw-r--r-- | cpu-exec.c | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/cpu-exec.c b/cpu-exec.c index 625fbb0e0f..134b3c4fcf 100644 --- a/cpu-exec.c +++ b/cpu-exec.c @@ -329,15 +329,11 @@ int cpu_exec(CPUArchState *env) 0); env->interrupt_request &= ~(CPU_INTERRUPT_HARD | CPU_INTERRUPT_VIRQ); intno = cpu_get_pic_interrupt(env); - if (intno >= 0) { - qemu_log_mask(CPU_LOG_TB_IN_ASM, - "Servicing hardware INT=0x%02x\n", - intno); - do_interrupt_x86_hardirq(env, intno, 1); - /* ensure that no TB jump will be modified as - the program flow was changed */ - next_tb = 0; - } + qemu_log_mask(CPU_LOG_TB_IN_ASM, "Servicing hardware INT=0x%02x\n", intno); + do_interrupt_x86_hardirq(env, intno, 1); + /* ensure that no TB jump will be modified as + the program flow was changed */ + next_tb = 0; #if !defined(CONFIG_USER_ONLY) } else if ((interrupt_request & CPU_INTERRUPT_VIRQ) && (env->eflags & IF_MASK) && |