diff options
author | Mario Smarduch <m.smarduch@samsung.com> | 2015-01-15 15:58:59 -0800 |
---|---|---|
committer | Christoffer Dall <christoffer.dall@linaro.org> | 2015-01-16 14:42:48 +0100 |
commit | 8199ed0e7c28ece79674a9fbba3208e93395a646 (patch) | |
tree | 1d6fbae21b2cc6d7624b149da7b0d8cf3d326683 /arch/arm64/include/asm/kvm_host.h | |
parent | 15a49a44fc36209e1112e9b8451d653cd07f17a8 (diff) | |
download | op-kernel-dev-8199ed0e7c28ece79674a9fbba3208e93395a646.zip op-kernel-dev-8199ed0e7c28ece79674a9fbba3208e93395a646.tar.gz |
KVM: arm64: ARMv8 header changes for page logging
This patch adds arm64 helpers to write protect pmds/ptes and retrieve
permissions while logging dirty pages. Also adds prototype to write protect
a memory slot and adds a pmd define to check for read-only pmds.
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Mario Smarduch <m.smarduch@samsung.com>
Diffstat (limited to 'arch/arm64/include/asm/kvm_host.h')
-rw-r--r-- | arch/arm64/include/asm/kvm_host.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/kvm_host.h b/arch/arm64/include/asm/kvm_host.h index 0b7dfdb..012af6c 100644 --- a/arch/arm64/include/asm/kvm_host.h +++ b/arch/arm64/include/asm/kvm_host.h @@ -199,6 +199,7 @@ struct kvm_vcpu * __percpu *kvm_get_running_vcpus(void); u64 kvm_call_hyp(void *hypfn, ...); void force_vm_exit(const cpumask_t *mask); +void kvm_mmu_wp_memory_region(struct kvm *kvm, int slot); int handle_exit(struct kvm_vcpu *vcpu, struct kvm_run *run, int exception_index); |