From: Christoffer Dall Date: Tue, 19 Aug 2014 10:18:04 +0000 (+0200) Subject: arm/arm64: KVM: Support KVM_CAP_READONLY_MEM X-Git-Tag: fixes-for-v3.18-merge-window~23^2~3^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98047888bb9fd57734028c44ec17413ddd623958;p=pandora-kernel.git arm/arm64: KVM: Support KVM_CAP_READONLY_MEM When userspace loads code and data in a read-only memory regions, KVM needs to be able to handle this on arm and arm64. Specifically this is used when running code directly from a read-only flash device; the common scenario is a UEFI blob loaded with the -bios option in QEMU. Note that the MMIO exit on writes to a read-only memory is ABI and can be used to emulate block-erase style flash devices. Acked-by: Marc Zyngier Signed-off-by: Christoffer Dall --- Reading git-diff-tree failed