diff options
author | Marcelo Tosatti <mtosatti@redhat.com> | 2010-05-04 04:04:27 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-05-19 10:36:33 +0200 |
commit | f1d86e469b60f9e1afed5c17a6e723c2c9c55ceb (patch) | |
tree | 6a0714f44067f2991d4b6910f646ccc691bd3deb /init | |
parent | KVM: VMX: Atomically switch efer if EPT && !EFER.NX (diff) | |
download | linux-f1d86e469b60f9e1afed5c17a6e723c2c9c55ceb.tar.xz linux-f1d86e469b60f9e1afed5c17a6e723c2c9c55ceb.zip |
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 <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions