]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdc291b4de311aef44f2aaf1cdeec1e425a4764f3
tree53ddc04108934f945898ac16160353c3bf04af9c
parent713d3403394498dd5401126b2fba69fcae754be7
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