[PATCH v3 2/2] arm/arm64: KVM: Support KVM_CAP_READONLY_MEM
christoffer.dall at linaro.org
Sun Sep 7 03:06:34 PDT 2014
On Sun, Sep 7, 2014 at 11:36 AM, Ard Biesheuvel
<ard.biesheuvel at linaro.org> wrote:
> On 26 August 2014 13:43, Christoffer Dall <christoffer.dall at linaro.org> wrote:
>> 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.
>> Cc: Ard Biesheuvel <ard.biesheuvel at linaro.org>
>> Signed-off-by: Christoffer Dall <christoffer.dall at linaro.org>
> Tested-by: Ard Biesheuvel <ard.biesheuvel at linaro.org>
> Are these on track for 3.18?
yes, already in kvmarm/next.
More information about the linux-arm-kernel