]> err.no Git - linux-2.6/commit
KVM: Add kvm_x86_ops get_tdp_level()
authorSheng Yang <sheng.yang@intel.com>
Fri, 25 Apr 2008 02:20:22 +0000 (10:20 +0800)
committerAvi Kivity <avi@qumranet.com>
Sun, 4 May 2008 11:44:34 +0000 (14:44 +0300)
commit67253af52e9133fb4cfbf7a2448a2d3524d1fa6c
tree5098624f90989a3844bb1b494658ea400d629b1f
parent8c6d6adc6b87daa364ee9deb2e966021d37a7622
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>
arch/x86/kvm/mmu.c
arch/x86/kvm/mmu.h
arch/x86/kvm/svm.c
arch/x86/kvm/vmx.c
arch/x86/kvm/vmx.h
include/asm-x86/kvm_host.h