diff options
author | Sheng Yang <sheng@linux.intel.com> | 2010-01-05 06:02:27 -0500 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2010-03-01 10:35:46 -0500 |
commit | 17cc393596823f4bbab81e68a9e23e7beadbcfca (patch) | |
tree | 7c5ffc52ebeab12dac3308a8a1aecffee37cb734 /arch/x86/include/asm/kvm_host.h | |
parent | c9c5417455b0c2e3c164883354b5480e5aee3b36 (diff) |
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>
Diffstat (limited to 'arch/x86/include/asm/kvm_host.h')
-rw-r--r-- | arch/x86/include/asm/kvm_host.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h index 741b8972a3a5..a4de557ad733 100644 --- a/arch/x86/include/asm/kvm_host.h +++ b/arch/x86/include/asm/kvm_host.h | |||
@@ -528,7 +528,7 @@ struct kvm_x86_ops { | |||
528 | int (*set_tss_addr)(struct kvm *kvm, unsigned int addr); | 528 | int (*set_tss_addr)(struct kvm *kvm, unsigned int addr); |
529 | int (*get_tdp_level)(void); | 529 | int (*get_tdp_level)(void); |
530 | u64 (*get_mt_mask)(struct kvm_vcpu *vcpu, gfn_t gfn, bool is_mmio); | 530 | u64 (*get_mt_mask)(struct kvm_vcpu *vcpu, gfn_t gfn, bool is_mmio); |
531 | bool (*gb_page_enable)(void); | 531 | int (*get_lpage_level)(void); |
532 | bool (*rdtscp_supported)(void); | 532 | bool (*rdtscp_supported)(void); |
533 | 533 | ||
534 | const struct trace_print_flags *exit_reasons_str; | 534 | const struct trace_print_flags *exit_reasons_str; |