• James Hogan's avatar
    KVM: MIPS: Pass type of fault down to kvm_mips_map_page() · 577ed7f7
    James Hogan authored
    kvm_mips_map_page() will need to know whether the fault was due to a
    read or a write in order to support dirty page tracking,
    KVM_CAP_SYNC_MMU, and read only memory regions, so get that information
    passed down to it via new bool write_fault arguments to various
    functions.
    Signed-off-by: default avatarJames Hogan <james.hogan@imgtec.com>
    Cc: Paolo Bonzini <pbonzini@redhat.com>
    Cc: "Radim Krčmář" <rkrcmar@redhat.com>
    Cc: Ralf Baechle <ralf@linux-mips.org>
    Cc: linux-mips@linux-mips.org
    Cc: kvm@vger.kernel.org
    577ed7f7
emulate.c 72.5 KB