[Top][All Lists]

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

Re: [Qemu-devel] [PATCH] cpu-exec: Fix direct jump to TB spanning page

From: Max Filippov
Subject: Re: [Qemu-devel] [PATCH] cpu-exec: Fix direct jump to TB spanning page
Date: Mon, 16 May 2016 17:43:35 +0300
User-agent: Mutt/1.5.23 (2014-03-12)

On Mon, May 16, 2016 at 04:13:00PM +0300, Sergey Fedorov wrote:
> From: Sergey Fedorov <address@hidden>
> It is not safe to make a direct jump to a TB spanning two pages in
> system emulation because the mapping for the second page can get changed
> but we don't take care of direct jumps in this case.
> However in user mode emulation, this is not the case because there's
> only static address translation and TBs are always invalidated properly.
> Fixes: 5b053a4a2827 ("tcg: Clean up direct block chaining safety checks")
> Reported-by: Max Filippov <address@hidden>
> Signed-off-by: Sergey Fedorov <address@hidden>
> Signed-off-by: Sergey Fedorov <address@hidden>
> ---
>  cpu-exec.c | 9 +++++++++
>  1 file changed, 9 insertions(+)

Tested-by: Max Filippov <address@hidden>

-- Max

reply via email to

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