diff options
author | Sheng Yang <sheng.yang@intel.com> | 2008-04-24 22:20:22 -0400 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-05-04 07:44:34 -0400 |
commit | 67253af52e9133fb4cfbf7a2448a2d3524d1fa6c (patch) | |
tree | 5098624f90989a3844bb1b494658ea400d629b1f /include | |
parent | 8c6d6adc6b87daa364ee9deb2e966021d37a7622 (diff) |
KVM: Add kvm_x86_ops get_tdp_level()
The function get_tdp_level() provided the number of tdp level for EPT and
NPT rather than the NPT specific macro.
Signed-off-by: Sheng Yang <sheng.yang@intel.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-x86/kvm_host.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-x86/kvm_host.h b/include/asm-x86/kvm_host.h index 9d963cd6533c..897a1be24cf7 100644 --- a/include/asm-x86/kvm_host.h +++ b/include/asm-x86/kvm_host.h | |||
@@ -422,6 +422,7 @@ struct kvm_x86_ops { | |||
422 | struct kvm_run *run); | 422 | struct kvm_run *run); |
423 | 423 | ||
424 | int (*set_tss_addr)(struct kvm *kvm, unsigned int addr); | 424 | int (*set_tss_addr)(struct kvm *kvm, unsigned int addr); |
425 | int (*get_tdp_level)(void); | ||
425 | }; | 426 | }; |
426 | 427 | ||
427 | extern struct kvm_x86_ops *kvm_x86_ops; | 428 | extern struct kvm_x86_ops *kvm_x86_ops; |