]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: MMU: Allow long mode shadows for legacy page tables
authorJoerg Roedel <joerg.roedel@amd.com>
Fri, 10 Sep 2010 15:31:00 +0000 (17:31 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:52:43 +0000 (10:52 +0200)
commite815860eeb291723d1655fabb6b30cacac0fc694
treed84b98769b9c14a2cb33d318fac7028bbb4e18eb
parent5a770905cebc9be60c5f9ec33e973a921c21f294
KVM: MMU: Allow long mode shadows for legacy page tables

Currently the KVM softmmu implementation can not shadow a 32
bit legacy or PAE page table with a long mode page table.
This is a required feature for nested paging emulation
because the nested page table must alway be in host format.
So this patch implements the missing pieces to allow long
mode page tables for page table types.

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