KVM: report 1GB page support to userspace
authorJoerg Roedel <joerg.roedel@amd.com>
Mon, 27 Jul 2009 14:30:48 +0000 (16:30 +0200)
committerAvi Kivity <avi@redhat.com>
Thu, 10 Sep 2009 05:33:19 +0000 (08:33 +0300)
commit344f414fa0f16254dd07195d4cd11b2f92931d3d
tree53ddc04108934f945898ac16160353c3bf04af9c
parent04326caacff2b162d359c15a2edf634448897d1a
KVM: report 1GB page support to userspace

If userspace knows that the kernel part supports 1GB pages it can enable
the corresponding cpuid bit so that guests actually use GB pages.

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/svm.c
arch/x86/kvm/vmx.c
arch/x86/kvm/x86.c