aboutsummaryrefslogtreecommitdiff
path: root/python/setup.py
diff options
context:
space:
mode:
authorDavid Hildenbrand <david@redhat.com>2025-02-10 09:46:42 +0100
committerPeter Xu <peterx@redhat.com>2025-02-12 10:13:27 -0500
commit52012209e1802e67aa186459e3e965f669e553df (patch)
tree64ca92456ae8ff84553eed963bf92d579fafc5c4 /python/setup.py
parentf051a9c4dc70cd1b6eafa61aec8f3b9344e02e85 (diff)
downloadqemu-52012209e1802e67aa186459e3e965f669e553df.zip
qemu-52012209e1802e67aa186459e3e965f669e553df.tar.gz
qemu-52012209e1802e67aa186459e3e965f669e553df.tar.bz2
physmem: factor out memory_region_is_ram_device() check in memory_access_is_direct()
As documented in commit 4a2e242bbb306 ("memory: Don't use memcpy for ram_device regions"), we disallow direct access to RAM DEVICE regions. Let's make this clearer to prepare for further changes. Note that romd regions will never be RAM DEVICE at the same time. Reviewed-by: Peter Xu <peterx@redhat.com> Signed-off-by: David Hildenbrand <david@redhat.com> Link: https://lore.kernel.org/r/20250210084648.33798-2-david@redhat.com Signed-off-by: Peter Xu <peterx@redhat.com>
Diffstat (limited to 'python/setup.py')
0 files changed, 0 insertions, 0 deletions