summary refs log tree commit diff stats
path: root/include/exec/cpu-common.h
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2025-09-29 16:25:59 +0200
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2025-10-07 03:37:03 +0200
commit8fe6ce40190872b4ccb4a3d601f4361b4bcdb0bb (patch)
tree10e1d70077cb4fcf50aa8ac0cf1b8cae3b559d55 /include/exec/cpu-common.h
parent34f9b0ad082268e347cee5c4903940e4ea67614f (diff)
downloadfocaccia-qemu-8fe6ce40190872b4ccb4a3d601f4361b4bcdb0bb.tar.gz
focaccia-qemu-8fe6ce40190872b4ccb4a3d601f4361b4bcdb0bb.zip
system/ramblock: Move ram_block_discard_*_range() declarations
Keep RAM blocks API in the same header: "system/ramblock.h".

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Acked-by: Peter Xu <peterx@redhat.com>
Message-Id: <20251002032812.26069-4-philmd@linaro.org>
Diffstat (limited to 'include/exec/cpu-common.h')
-rw-r--r--include/exec/cpu-common.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/exec/cpu-common.h b/include/exec/cpu-common.h
index b96ac49844..df520f15d3 100644
--- a/include/exec/cpu-common.h
+++ b/include/exec/cpu-common.h
@@ -163,9 +163,6 @@ void cpu_flush_icache_range(hwaddr start, hwaddr len);
 typedef int (RAMBlockIterFunc)(RAMBlock *rb, void *opaque);
 
 int qemu_ram_foreach_block(RAMBlockIterFunc func, void *opaque);
-int ram_block_discard_range(RAMBlock *rb, uint64_t start, size_t length);
-int ram_block_discard_guest_memfd_range(RAMBlock *rb, uint64_t start,
-                                        size_t length);
 
 /* Returns: 0 on success, -1 on error */
 int cpu_memory_rw_debug(CPUState *cpu, vaddr addr,