On 3/9/25 16:29, Peter Xu wrote:
flatview_access_allowed() should pass in the address offset of the memory
region, rather than the global address space. Shouldn't be a major issue
yet, since the addr is only used in an error log.

Cc: Philippe Mathieu-Daudé <[email protected]>
Fixes: 3ab6fdc91b ("softmmu/physmem: Introduce MemTxAttrs::memory field and 
MEMTX_ACCESS_ERROR")
Signed-off-by: Peter Xu <[email protected]>
---
v2:
- Fix len as well [Phil]
---
  system/physmem.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <[email protected]>


Reply via email to