]> www.infradead.org Git - users/dwmw2/linux.git/commit
KVM: x86: Rename gb_page_enable() to get_lpage_level() in kvm_x86_ops
authorSheng Yang <sheng@linux.intel.com>
Tue, 5 Jan 2010 11:02:27 +0000 (19:02 +0800)
committerMarcelo Tosatti <mtosatti@redhat.com>
Wed, 6 Jan 2010 09:59:55 +0000 (07:59 -0200)
commitb0b3a7ff1c055dccf76a3de855e69e5330570e1f
treee07f3973f3da7fbe0414ffb450a52fa2dce8baea
parentdb9cba99c26ef900d05557c305575bd1db2ce98e
KVM: x86: Rename gb_page_enable() to get_lpage_level() in kvm_x86_ops

Then the callback can provide the maximum supported large page level, which
is more flexible.

Also move the gb page support into x86_64 specific.

Signed-off-by: Sheng Yang <sheng@linux.intel.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/svm.c
arch/x86/kvm/vmx.c
arch/x86/kvm/x86.c