summaryrefslogtreecommitdiffstats
path: root/kernel/params.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 09:32:15 +0200
commitcd3ff653ae0b45bac7a19208e9c75034fcacc85f (patch)
tree636bee346e23154216babd9d588ff7715ac11859 /kernel/params.c
parent8d23c4662427507f432c96ac4fa3b76f0a8360cd (diff)
downloadop-kernel-dev-cd3ff653ae0b45bac7a19208e9c75034fcacc85f.zip
op-kernel-dev-cd3ff653ae0b45bac7a19208e9c75034fcacc85f.tar.gz
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/params.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud