]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: SVM: cache nested intercepts
authorJoerg Roedel <joerg.roedel@amd.com>
Fri, 7 Aug 2009 09:49:34 +0000 (11:49 +0200)
committerAvi Kivity <avi@redhat.com>
Thu, 10 Sep 2009 05:33:24 +0000 (08:33 +0300)
commitbbea405877e625eef0842f3e202cb8fcb3fdca8d
tree110c2cfd3cc18dff27f4fb01bb5ffab61661ada0
parent7fef74af1126bdb654803dc91692a0c7365ee6c3
KVM: SVM: cache nested intercepts

When the nested intercepts are cached we don't need to call
get_user_pages and/or map the nested vmcb on every nested #vmexit to
check who will handle the intercept.
Further this patch aligns the emulated svm behavior better to real
hardware.

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