summary refs log tree commit diff stats
path: root/system/memory.c
diff options
context:
space:
mode:
authorPeter Xu <peterx@redhat.com>2025-09-03 10:29:32 -0400
committerPeter Xu <peterx@redhat.com>2025-09-15 12:00:12 -0400
commitc75847f9eb8fb09dde0c0f4fa4710c6bde11f5a9 (patch)
tree38e96dc2353efcb9bf54b66539c30d9f9ba6eada /system/memory.c
parent190d5d7fd725ff754f94e8e0cbfb69f279c82b5d (diff)
downloadfocaccia-qemu-c75847f9eb8fb09dde0c0f4fa4710c6bde11f5a9.tar.gz
focaccia-qemu-c75847f9eb8fb09dde0c0f4fa4710c6bde11f5a9.zip
memory: Fix addr/len for flatview_access_allowed()
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é <philmd@linaro.org>
Fixes: 3ab6fdc91b ("softmmu/physmem: Introduce MemTxAttrs::memory field and MEMTX_ACCESS_ERROR")
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Link: https://lore.kernel.org/r/20250903142932.1038765-1-peterx@redhat.com
Signed-off-by: Peter Xu <peterx@redhat.com>
Diffstat (limited to 'system/memory.c')
0 files changed, 0 insertions, 0 deletions