diff options
author | Sheng Yang <sheng.yang@intel.com> | 2008-04-25 17:13:50 +0400 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-05-04 15:44:38 +0400 |
commit | 7b52345e2c4c7333bf7eba8034ffc4683fa63c91 (patch) | |
tree | 3b7bc1cb9c067ae18fcfcee33d57ab3a6d46f9d1 /include/asm-x86/kvm_host.h | |
parent | 67253af52e9133fb4cfbf7a2448a2d3524d1fa6c (diff) | |
download | linux-7b52345e2c4c7333bf7eba8034ffc4683fa63c91.tar.xz |
KVM: MMU: Add EPT support
Enable kvm_set_spte() to generate EPT entries.
Signed-off-by: Sheng Yang <sheng.yang@intel.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'include/asm-x86/kvm_host.h')
-rw-r--r-- | include/asm-x86/kvm_host.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-x86/kvm_host.h b/include/asm-x86/kvm_host.h index 897a1be24cf7..d1dedda958ff 100644 --- a/include/asm-x86/kvm_host.h +++ b/include/asm-x86/kvm_host.h @@ -434,6 +434,9 @@ void kvm_mmu_destroy(struct kvm_vcpu *vcpu); int kvm_mmu_create(struct kvm_vcpu *vcpu); int kvm_mmu_setup(struct kvm_vcpu *vcpu); void kvm_mmu_set_nonpresent_ptes(u64 trap_pte, u64 notrap_pte); +void kvm_mmu_set_base_ptes(u64 base_pte); +void kvm_mmu_set_mask_ptes(u64 user_mask, u64 accessed_mask, + u64 dirty_mask, u64 nx_mask, u64 x_mask); int kvm_mmu_reset_context(struct kvm_vcpu *vcpu); void kvm_mmu_slot_remove_write_access(struct kvm *kvm, int slot); |