[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-riscv] [Qemu-devel] [PATCH v3 1/7] target/riscv: Don't set wri

From: Bin Meng
Subject: Re: [Qemu-riscv] [Qemu-devel] [PATCH v3 1/7] target/riscv: Don't set write permissions on dirty PTEs
Date: Fri, 16 Aug 2019 21:59:04 +0800

On Fri, Aug 16, 2019 at 5:41 AM Alistair Francis
<address@hidden> wrote:
> Setting write permission on dirty PTEs results in userspace inside a
> Hypervisor guest (VU) becoming corrupted. This appears to be because it
> ends up with write permission in the second stage translation in cases
> where we aren't doing a store.
> Signed-off-by: Alistair Francis <address@hidden>
> ---
>  target/riscv/cpu_helper.c | 6 ++----
>  1 file changed, 2 insertions(+), 4 deletions(-)

Reviewed-by: Bin Meng <address@hidden>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]