[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 07/10] exec: Move all RAMBlock functions to 'exec/ramblock.h'
From: |
Cornelia Huck |
Subject: |
Re: [PATCH 07/10] exec: Move all RAMBlock functions to 'exec/ramblock.h' |
Date: |
Fri, 8 May 2020 11:32:07 +0200 |
On Thu, 7 May 2020 19:39:55 +0200
Philippe Mathieu-Daudé <address@hidden> 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é <address@hidden>
> ---
> 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 <address@hidden>
- Re: [PATCH 04/10] exec/memory-internal: Check CONFIG_SOFTMMU instead of CONFIG_USER_ONLY, (continued)
- [PATCH 05/10] exec: Move qemu_minrampagesize/qemu_maxrampagesize to 'qemu-common.h', Philippe Mathieu-Daudé, 2020/05/07
- [PATCH 06/10] exec: Move ramblock_recv_bitmap_offset() to migration/ram.c, Philippe Mathieu-Daudé, 2020/05/07
- [PATCH 07/10] exec: Move all RAMBlock functions to 'exec/ramblock.h', Philippe Mathieu-Daudé, 2020/05/07
- [PATCH 08/10] hw/block: Let the NVMe emulated device be target-agnostic, Philippe Mathieu-Daudé, 2020/05/07
- [PATCH 09/10] exec: Update coding style to make checkpatch.pl happy, Philippe Mathieu-Daudé, 2020/05/07
- [PATCH 10/10] exec: Move cpu_physical_memory_* functions to 'exec/memory-internal.h', Philippe Mathieu-Daudé, 2020/05/07
- Re: [PATCH 00/10] exec: Shear 'exec/ram_addr.h' and make NVMe device target-agnostic, Paolo Bonzini, 2020/05/07