commit | 03b755b2aa48d242440cbfbd365e153b4b20fe54 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Wed Jan 08 16:14:55 2025 +0100 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Sun Jan 12 10:35:45 2025 +0100 |
tree | ea54ce1223a3251fb74021846d8be99eb6b42108 | |
parent | f2104bf22f0475a08a0feeee40d8e45ce38ed5a1 [diff] |
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: Paolo Bonzini <pbonzini@redhat.com>