Jan Kiszka 8c14c17395 kvm: Fix IRQ injection into full queue
User space may only inject interrupts during kvm_arch_pre_run if
ready_for_interrupt_injection is set in kvm_run. But that field is
updated on exit from KVM_RUN, so we must ensure that we enter the
kernel after potentially queuing an interrupt, otherwise we risk to
loose one - like it happens with the current code against latest
kernel modules (since kvm-86) that started to queue only a single
interrupt.

Fix the problem by reordering kvm_cpu_exec.

Credits go to Gleb Natapov for analyzing the issue in details.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-06-16 15:36:47 -05:00
2009-06-13 08:44:31 +00:00
2009-06-13 08:44:31 +00:00
2009-05-13 20:54:26 +01:00
2009-05-13 20:54:26 +01:00
2009-06-15 13:52:27 +02:00
2009-03-07 21:48:00 +00:00
2009-06-16 15:36:47 -05:00
2009-03-07 15:46:23 +00:00
2009-03-10 21:43:35 +00:00
2009-04-07 17:57:09 +00:00
2009-04-07 17:57:09 +00:00
2009-06-16 15:36:47 -05:00
2009-05-26 21:10:28 +02:00
2009-05-13 20:54:26 +01:00
2009-05-24 21:24:33 +01:00
2009-05-26 21:10:28 +02:00
2009-05-26 21:10:28 +02:00
2009-03-05 23:01:23 +00:00
2009-05-27 09:46:03 -05:00
2009-06-05 15:16:41 +01:00
2009-06-16 15:36:47 -05:00
2009-03-08 12:41:36 +00:00
2009-05-30 01:59:37 +01:00
2009-06-13 19:19:25 -05:00
2009-05-28 14:00:49 +02:00
2009-06-16 15:18:36 -05:00
2009-05-25 18:56:13 +01:00
2009-06-09 11:38:50 +01:00
2009-05-13 22:21:47 +01:00
2009-05-08 15:51:19 -05:00
2009-06-15 13:52:27 +02:00
2009-05-14 22:35:09 +01:00
2009-05-09 23:22:35 +01:00
2009-05-19 22:29:20 +04:00
2009-06-15 12:51:37 -05:00
2009-05-08 16:11:49 -05:00
2009-03-05 23:01:23 +00:00
2009-05-14 17:03:49 -05:00
2009-04-07 21:47:27 +00:00
2009-05-13 22:21:47 +01:00
2009-05-22 10:50:35 -05:00
2009-03-05 23:01:23 +00:00
2009-06-16 15:36:47 -05:00
2009-03-06 23:44:29 +00:00
2009-03-06 23:44:29 +00:00
2009-03-06 23:44:29 +00:00
2009-03-06 23:44:29 +00:00

Read the documentation in qemu-doc.html.

Fabrice Bellard.
Description
Original Xbox Emulator for Windows, macOS, and Linux (Active Development)
Readme 531 MiB
Languages
C 82.5%
C++ 7%
Python 3.3%
Dylan 2.8%
Shell 1.5%
Other 2.6%