Skip to content
Commit 03b755b2 authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

KVM: e500: map readonly host pages for read



The new __kvm_faultin_pfn() function is upset by the fact that e500 KVM
ignores host page permissions - __kvm_faultin requires a "writable"
outgoing argument, but e500 KVM is nonchalantly passing NULL.

If the host page permissions do not include writability, the shadow
TLB entry is forcibly mapped read-only.

Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent f2104bf2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment