]> git.ipfire.org Git - thirdparty/qemu.git/commit
memory: pass MemTxAttrs to memory_access_is_direct()
authorDavid Hildenbrand <david@redhat.com>
Mon, 10 Feb 2025 08:46:46 +0000 (09:46 +0100)
committerPeter Xu <peterx@redhat.com>
Wed, 12 Feb 2025 16:33:05 +0000 (11:33 -0500)
commitd732b5a4ac3e8222e9527654f067bb766fdaecb6
tree4c59e14105ab1fcde4b0f07d7d8d4d5fc6a382d1
parentd4337aa8e222802d342b9f58440ca8e005b8bf91
memory: pass MemTxAttrs to memory_access_is_direct()

We want to pass another flag that will be stored in MemTxAttrs. So pass
MemTxAttrs directly.

Reviewed-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: David Hildenbrand <david@redhat.com>
Link: https://lore.kernel.org/r/20250210084648.33798-6-david@redhat.com
[peterx: Fix MacOS builds]
Signed-off-by: Peter Xu <peterx@redhat.com>
hw/core/loader.c
hw/display/apple-gfx.m
hw/remote/vfio-user-obj.c
include/exec/memory.h
system/memory_ldst.c.inc
system/physmem.c