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>
Mon, 1 Mar 2010 15:35:46 +0000 (12:35 -0300)
commit17cc393596823f4bbab81e68a9e23e7beadbcfca
tree7c5ffc52ebeab12dac3308a8a1aecffee37cb734
parentc9c5417455b0c2e3c164883354b5480e5aee3b36
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