]> git.karo-electronics.de Git - mv-sheeva.git/commit
KVM: SVM: get rid of nested_svm_vmexit_real
authorJoerg Roedel <joerg.roedel@amd.com>
Fri, 7 Aug 2009 09:49:38 +0000 (11:49 +0200)
committerAvi Kivity <avi@redhat.com>
Thu, 10 Sep 2009 05:33:26 +0000 (08:33 +0300)
commit34f80cfad59ee587e374cbaf5f2a31d9f5015404
tree80c12229f6a27f797fcd8d72e822ac17ae4332b7
parent0295ad7de86a6347316bc7414c1b9c15f56a1333
KVM: SVM: get rid of nested_svm_vmexit_real

This patch is the starting point of removing nested_svm_do from the
nested svm code. The nested_svm_do function basically maps two guest
physical pages to host virtual addresses and calls a passed function
on it. This function pointer code flow is hard to read and not the
best technical solution here.
As a side effect this patch indroduces the nested_svm_[un]map helper
functions.

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