diff options
author | Nadav Har'El <nyh@il.ibm.com> | 2013-08-05 11:07:16 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2013-08-07 15:57:41 +0200 |
commit | 155a97a3d7c78b46cef6f1a973c831bc5a4f82bb (patch) | |
tree | ebaee41d8a4c94c06d09072490f921e4485a509d /kernel | |
parent | 25d92081ae2ff9858fa733621ef8e91d30fec9d0 (diff) | |
download | linux-155a97a3d7c78b46cef6f1a973c831bc5a4f82bb.tar.bz2 |
nEPT: MMU context for nested EPT
KVM's existing shadow MMU code already supports nested TDP. To use it, we
need to set up a new "MMU context" for nested EPT, and create a few callbacks
for it (nested_ept_*()). This context should also use the EPT versions of
the page table access functions (defined in the previous patch).
Then, we need to switch back and forth between this nested context and the
regular MMU context when switching between L1 and L2 (when L1 runs this L2
with EPT).
Reviewed-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Signed-off-by: Nadav Har'El <nyh@il.ibm.com>
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
Signed-off-by: Xinhao Xu <xinhao.xu@intel.com>
Signed-off-by: Yang Zhang <yang.z.zhang@Intel.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions