diff options
author | Sheng Yang <sheng.yang@intel.com> | 2008-04-25 09:13:50 -0400 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-05-04 07:44:38 -0400 |
commit | 7b52345e2c4c7333bf7eba8034ffc4683fa63c91 (patch) | |
tree | 3b7bc1cb9c067ae18fcfcee33d57ab3a6d46f9d1 /include/asm-x86 | |
parent | 67253af52e9133fb4cfbf7a2448a2d3524d1fa6c (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')
-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); | |||
434 | int kvm_mmu_create(struct kvm_vcpu *vcpu); | 434 | int kvm_mmu_create(struct kvm_vcpu *vcpu); |
435 | int kvm_mmu_setup(struct kvm_vcpu *vcpu); | 435 | int kvm_mmu_setup(struct kvm_vcpu *vcpu); |
436 | void kvm_mmu_set_nonpresent_ptes(u64 trap_pte, u64 notrap_pte); | 436 | void kvm_mmu_set_nonpresent_ptes(u64 trap_pte, u64 notrap_pte); |
437 | void kvm_mmu_set_base_ptes(u64 base_pte); | ||
438 | void kvm_mmu_set_mask_ptes(u64 user_mask, u64 accessed_mask, | ||
439 | u64 dirty_mask, u64 nx_mask, u64 x_mask); | ||
437 | 440 | ||
438 | int kvm_mmu_reset_context(struct kvm_vcpu *vcpu); | 441 | int kvm_mmu_reset_context(struct kvm_vcpu *vcpu); |
439 | void kvm_mmu_slot_remove_write_access(struct kvm *kvm, int slot); | 442 | void kvm_mmu_slot_remove_write_access(struct kvm *kvm, int slot); |