KVM: MMU: Introduce init_kvm_nested_mmu()
authorJoerg Roedel <joerg.roedel@amd.com>
Fri, 10 Sep 2010 15:30:54 +0000 (17:30 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:52:39 +0000 (10:52 +0200)
commit02f59dc9f1f51d2148d87d48f84adb455a4fd697
treef1947e95af0dd4e2211c1b152e48f9784a749ebb
parent3d06b8bfd44ec421c386241f7c5af66c8200cbf4
KVM: MMU: Introduce init_kvm_nested_mmu()

This patch introduces the init_kvm_nested_mmu() function
which is used to re-initialize the nested mmu when the l2
guest changes its paging mode.

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/mmu.h
arch/x86/kvm/x86.c