summaryrefslogtreecommitdiffstats
path: root/kernel/compat.c
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2009-10-09 16:08:26 +0200
committerAvi Kivity <avi@redhat.com>2009-12-03 08:32:15 +0100
commitcd3ff653ae0b45bac7a19208e9c75034fcacc85f (patch)
tree636bee346e23154216babd9d588ff7715ac11859 /kernel/compat.c
parentKVM: SVM: Notify nested hypervisor of lost event injections (diff)
downloadlinux-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