On Thu, 7 May 2020 19:39:55 +0200 Philippe Mathieu-Daudé <phi...@redhat.com> wrote:
> The RAMBlock API was dispersed in 3 different headers. > One of these headers, "exec/ram_addr.h", is restricted > to target dependent code. However these functions are > not target specific. Move all functions into a single > place. Now all these functions can be accessed by > target-agnostic code. > > Signed-off-by: Philippe Mathieu-Daudé <phi...@redhat.com> > --- > include/exec/cpu-common.h | 24 ------- > include/exec/ram_addr.h | 105 --------------------------- > include/exec/ramblock.h | 134 +++++++++++++++++++++++++++++++++++ > migration/migration.h | 1 + > accel/tcg/translate-all.c | 2 - > hw/block/nvme.c | 2 +- > hw/s390x/s390-stattrib-kvm.c | 1 - > hw/s390x/s390-stattrib.c | 1 - > hw/s390x/s390-virtio-ccw.c | 1 - > hw/virtio/vhost-user.c | 1 + > hw/virtio/vhost.c | 1 + > hw/virtio/virtio-balloon.c | 1 + > memory.c | 1 + > migration/migration.c | 1 + > migration/postcopy-ram.c | 1 + > migration/savevm.c | 1 + > stubs/ram-block.c | 2 +- > target/ppc/kvm.c | 1 - > target/s390x/kvm.c | 1 - > util/vfio-helpers.c | 2 +- > 20 files changed, 145 insertions(+), 139 deletions(-) Acked-by: Cornelia Huck <coh...@redhat.com>