KVM: MIPS: Claim KVM_CAP_READONLY_MEM support
authorJames Hogan <james.hogan@imgtec.com>
Fri, 8 May 2015 16:11:49 +0000 (17:11 +0100)
committerJames Hogan <james.hogan@imgtec.com>
Fri, 3 Feb 2017 15:21:29 +0000 (15:21 +0000)
commit230c57244c2c4d945dba7f9d15845bffe4135b58
tree02b477450a560c2b8e9515c35fd49634fbf87e0b
parent411740f5422a960c30a4285343d821b62daec34b
KVM: MIPS: Claim KVM_CAP_READONLY_MEM support

Now that load/store faults due to read only memory regions are treated
as MMIO accesses it is safe to claim support for read only memory
regions (KVM_CAP_READONLY_MEM).

Signed-off-by: James 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
arch/mips/include/uapi/asm/kvm.h
arch/mips/kvm/mips.c