aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/kvm_host.h
diff options
context:
space:
mode:
authorSheng Yang <sheng.yang@intel.com>2008-04-25 09:13:50 -0400
committerAvi Kivity <avi@qumranet.com>2008-05-04 07:44:38 -0400
commit7b52345e2c4c7333bf7eba8034ffc4683fa63c91 (patch)
tree3b7bc1cb9c067ae18fcfcee33d57ab3a6d46f9d1 /include/asm-x86/kvm_host.h
parent67253af52e9133fb4cfbf7a2448a2d3524d1fa6c (diff)
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.h3
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);
434int kvm_mmu_create(struct kvm_vcpu *vcpu); 434int kvm_mmu_create(struct kvm_vcpu *vcpu);
435int kvm_mmu_setup(struct kvm_vcpu *vcpu); 435int kvm_mmu_setup(struct kvm_vcpu *vcpu);
436void kvm_mmu_set_nonpresent_ptes(u64 trap_pte, u64 notrap_pte); 436void kvm_mmu_set_nonpresent_ptes(u64 trap_pte, u64 notrap_pte);
437void kvm_mmu_set_base_ptes(u64 base_pte);
438void kvm_mmu_set_mask_ptes(u64 user_mask, u64 accessed_mask,
439 u64 dirty_mask, u64 nx_mask, u64 x_mask);
437 440
438int kvm_mmu_reset_context(struct kvm_vcpu *vcpu); 441int kvm_mmu_reset_context(struct kvm_vcpu *vcpu);
439void kvm_mmu_slot_remove_write_access(struct kvm *kvm, int slot); 442void kvm_mmu_slot_remove_write_access(struct kvm *kvm, int slot);