diff options
author | Marcelo Tosatti <[email protected]> | 2010-05-03 23:04:27 -0300 |
---|---|---|
committer | Avi Kivity <[email protected]> | 2010-05-19 11:36:33 +0300 |
commit | f1d86e469b60f9e1afed5c17a6e723c2c9c55ceb (patch) | |
tree | 6a0714f44067f2991d4b6910f646ccc691bd3deb /tools/perf/util/trace-event-scripting.c | |
parent | 84ad33ef5dbc12665ad42ee07a2daed473d3ec54 (diff) |
KVM: x86: properly update ready_for_interrupt_injection
The recent changes to emulate string instructions without entering guest
mode exposed a bug where pending interrupts are not properly reflected
in ready_for_interrupt_injection.
The result is that userspace overwrites a previously queued interrupt,
when irqchip's are emulated in userspace.
Fix by always updating state before returning to userspace.
Signed-off-by: Marcelo Tosatti <[email protected]>
Signed-off-by: Avi Kivity <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions