commit | cd3ff653ae0b45bac7a19208e9c75034fcacc85f | [log] [tgz] |
---|---|---|
author | Joerg Roedel <joerg.roedel@amd.com> | Fri Oct 09 16:08:26 2009 +0200 |
committer | Avi Kivity <avi@redhat.com> | Thu Dec 03 09:32:15 2009 +0200 |
tree | 636bee346e23154216babd9d588ff7715ac11859 | |
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>