KVM: SVM: do nested vmexit in nested_svm_exit_handled
authorJoerg Roedel <joerg.roedel@amd.com>
Fri, 7 Aug 2009 09:49:36 +0000 (11:49 +0200)
committerAvi Kivity <avi@redhat.com>
Thu, 10 Sep 2009 05:33:25 +0000 (08:33 +0300)
commit9c4e40b9949868928bd7fec67a4b0902d90e57ed
treea328b7aadb9c45455e2ae065e49d3debd049ee56
parent4c2161aed55c294c4c42622455f067a4b3077b85
KVM: SVM: do nested vmexit in nested_svm_exit_handled

If this function returns true a nested vmexit is required. Move that
vmexit into the nested_svm_exit_handled function. This also simplifies
the handling of nested #pf intercepts in this function.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Acked-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/svm.c