(series fully reviewed, I plan to merge via my tree) Usual API cleanups, here focusing on RAMBlock API: move few prototypes out of "exec/cpu-common.h" and "system/ram_addr.h" to "system/ramblock.h".
v2: - Do not use ram_addr_t for offsets (rth) v3: - Updated subject & squashed (rth) Philippe Mathieu-Daudé (5): system/ramblock: Remove obsolete comment system/ramblock: Move ram_block_is_pmem() declaration system/ramblock: Move ram_block_discard_*_range() declarations system/ramblock: Rename @start -> @offset in ram_block_discard_range() system/ramblock: Move RAMBlock helpers out of "system/ram_addr.h" include/exec/cpu-common.h | 3 --- include/system/ram_addr.h | 13 --------- include/system/ramblock.h | 27 +++++++++++++++---- accel/kvm/kvm-all.c | 1 + hw/hyperv/hv-balloon-our_range_memslots.c | 1 + hw/virtio/virtio-balloon.c | 1 + hw/virtio/virtio-mem.c | 1 + migration/ram.c | 3 ++- system/physmem.c | 33 ++++++++++++----------- 9 files changed, 45 insertions(+), 38 deletions(-) -- 2.51.0
