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

KVM: MMU: pass struct kvm_page_fault to mmu_set_spte



mmu_set_spte is called for either PTE prefetching or page faults.  The
three boolean arguments write_fault, speculative and host_writable are
always respectively false/true/true for prefetching and coming from
a struct kvm_page_fault for page faults.

Let mmu_set_spte distinguish these two situation by accepting a
possibly NULL struct kvm_page_fault argument.

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