KVM: SVM: Initialize Nested Nested MMU context on VMRUN
authorJoerg Roedel <joerg.roedel@amd.com>
Fri, 10 Sep 2010 15:31:03 +0000 (17:31 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:52:46 +0000 (10:52 +0200)
commit4b16184c1ccafa4b0c188c622ea532fb90e6f5b0
tree27bac1b008fc41f2b27a70faecf3e1ca1b7473ee
parent5bd2edc341d11af175e759a546e4335ba3e0584f
KVM: SVM: Initialize Nested Nested MMU context on VMRUN

This patch adds code to initialize the Nested Nested Paging
MMU context when the L1 guest executes a VMRUN instruction
and has nested paging enabled in its VMCB.

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