diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2009-10-09 16:08:26 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2009-12-03 09:32:15 +0200 |
commit | cd3ff653ae0b45bac7a19208e9c75034fcacc85f (patch) | |
tree | 636bee346e23154216babd9d588ff7715ac11859 /arch/x86/kvm/x86.c | |
parent | 8d23c4662427507f432c96ac4fa3b76f0a8360cd (diff) |
KVM: SVM: Move INTR vmexit out of atomic code
The nested SVM code emulates a #vmexit caused by a request
to open the irq window right in the request function. This
is a bug because the request function runs with preemption
and interrupts disabled but the #vmexit emulation might
sleep. This can cause a schedule()-while-atomic bug and is
fixed with this patch.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'arch/x86/kvm/x86.c')
0 files changed, 0 insertions, 0 deletions