[Top][All Lists]

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

Re: [Qemu-devel] [PATCH 2/6] accel/tcg: Handle get_page_addr_code() retu

From: Emilio G. Cota
Subject: Re: [Qemu-devel] [PATCH 2/6] accel/tcg: Handle get_page_addr_code() returning -1 in hashtable lookups
Date: Fri, 13 Jul 2018 12:44:25 -0400
User-agent: Mutt/1.5.24 (2015-08-30)

On Tue, Jul 10, 2018 at 17:00:09 +0100, Peter Maydell wrote:
> When we support execution from non-RAM MMIO regions, get_page_addr_code()
> will return -1 to indicate that there is no RAM at the requested address.
> Handle this in the cpu-exec TB hashtable lookup code, treating it as
> "no match found".
> Note that the call to get_page_addr_code() in tb_lookup_cmp() needs
> no changes -- a return of -1 will already correctly result in the
> function returning false.
> Signed-off-by: Peter Maydell <address@hidden>

Reviewed-by: Emilio G. Cota <address@hidden>


reply via email to

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