|
From: | Richard Henderson |
Subject: | Re: [Qemu-devel] [PATCH 2/6] accel/tcg: Handle get_page_addr_code() returning -1 in hashtable lookups |
Date: | Tue, 10 Jul 2018 11:23:53 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 |
On 07/10/2018 09:00 AM, 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> > --- > accel/tcg/cpu-exec.c | 3 +++ > 1 file changed, 3 insertions(+) Reviewed-by: Richard Henderson <address@hidden> r~
[Prev in Thread] | Current Thread | [Next in Thread] |