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 08:32:15 +0100 |
commit | cd3ff653ae0b45bac7a19208e9c75034fcacc85f (patch) | |
tree | 636bee346e23154216babd9d588ff7715ac11859 /kernel/compat.c | |
parent | KVM: SVM: Notify nested hypervisor of lost event injections (diff) | |
download | linux-cd3ff653ae0b45bac7a19208e9c75034fcacc85f.tar.xz linux-cd3ff653ae0b45bac7a19208e9c75034fcacc85f.zip |
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 'kernel/compat.c')
0 files changed, 0 insertions, 0 deletions