]> git.ipfire.org Git - thirdparty/qemu.git/commit
system/physmem: Reduce cpu_physical_memory_sync_dirty_bitmap() scope
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 29 Sep 2025 11:58:03 +0000 (13:58 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 7 Oct 2025 03:03:56 +0000 (05:03 +0200)
commit8bf3a883088b65430f58aeb3d2d1db87f01eabec
tree7e9452a90b8b0ccdc64e257da4e131599d5e1312
parent1085a44ebb55346b30888ce1b7b18565a719f78b
system/physmem: Reduce cpu_physical_memory_sync_dirty_bitmap() scope

cpu_physical_memory_sync_dirty_bitmap() is now only called within
system/physmem.c, by ramblock_sync_dirty_bitmap(). Reduce its scope
by making it internal to this file. Since it doesn't involve any CPU,
remove the 'cpu_' prefix.
Remove the now unneeded "qemu/rcu.h" and "system/memory.h" headers.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20251001175448.18933-17-philmd@linaro.org>
include/system/ram_addr.h
migration/ram.c