]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: SVM: reorganize svm_interrupt_allowed
authorJoerg Roedel <joerg.roedel@amd.com>
Wed, 16 Sep 2009 13:24:15 +0000 (15:24 +0200)
committerAvi Kivity <avi@redhat.com>
Thu, 3 Dec 2009 07:32:11 +0000 (09:32 +0200)
commite583d0b9e93106f6478e9252253be275157b005e
treef8879cd7baeab1e2d40a2dbadac8df638200ba8b
parentf38703266eda124485210b4c4d12bda4660b561e
KVM: SVM: reorganize svm_interrupt_allowed

This patch reorganizes the logic in svm_interrupt_allowed to
make it better to read. This is important because the logic
is a lot more complicated with Nested SVM.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/svm.c