On Wed, Oct 01, 2025 at 10:21:06AM +0200, Philippe Mathieu-Daudé wrote: > None of these files require definition exposed by "system/ram_addr.h", > remove its inclusion. > > Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Acked-by: Michael S. Tsirkin <[email protected]> > --- > hw/ppc/spapr.c | 1 - > hw/ppc/spapr_caps.c | 1 - > hw/ppc/spapr_pci.c | 1 - > hw/remote/memory.c | 1 - > hw/remote/proxy-memory-listener.c | 1 - > hw/s390x/s390-virtio-ccw.c | 1 - > hw/vfio/spapr.c | 1 - > hw/virtio/virtio-mem.c | 1 - > 8 files changed, 8 deletions(-) > > diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c > index eb22333404d..15d09ef9618 100644 > --- a/hw/ppc/spapr.c > +++ b/hw/ppc/spapr.c > @@ -77,7 +77,6 @@ > #include "hw/virtio/virtio-scsi.h" > #include "hw/virtio/vhost-scsi-common.h" > > -#include "system/ram_addr.h" > #include "system/confidential-guest-support.h" > #include "hw/usb.h" > #include "qemu/config-file.h" > diff --git a/hw/ppc/spapr_caps.c b/hw/ppc/spapr_caps.c > index f2f5722d8ad..0f94c192fd4 100644 > --- a/hw/ppc/spapr_caps.c > +++ b/hw/ppc/spapr_caps.c > @@ -27,7 +27,6 @@ > #include "qapi/error.h" > #include "qapi/visitor.h" > #include "system/hw_accel.h" > -#include "system/ram_addr.h" > #include "target/ppc/cpu.h" > #include "target/ppc/mmu-hash64.h" > #include "cpu-models.h" > diff --git a/hw/ppc/spapr_pci.c b/hw/ppc/spapr_pci.c > index 1ac1185825e..f9095552e86 100644 > --- a/hw/ppc/spapr_pci.c > +++ b/hw/ppc/spapr_pci.c > @@ -34,7 +34,6 @@ > #include "hw/pci/pci_host.h" > #include "hw/ppc/spapr.h" > #include "hw/pci-host/spapr.h" > -#include "system/ram_addr.h" > #include <libfdt.h> > #include "trace.h" > #include "qemu/error-report.h" > diff --git a/hw/remote/memory.c b/hw/remote/memory.c > index 00193a552fa..8195aa5fb83 100644 > --- a/hw/remote/memory.c > +++ b/hw/remote/memory.c > @@ -11,7 +11,6 @@ > #include "qemu/osdep.h" > > #include "hw/remote/memory.h" > -#include "system/ram_addr.h" > #include "qapi/error.h" > > static void remote_sysmem_reset(void) > diff --git a/hw/remote/proxy-memory-listener.c > b/hw/remote/proxy-memory-listener.c > index 30ac74961dd..e1a52d24f0b 100644 > --- a/hw/remote/proxy-memory-listener.c > +++ b/hw/remote/proxy-memory-listener.c > @@ -12,7 +12,6 @@ > #include "qemu/range.h" > #include "system/memory.h" > #include "exec/cpu-common.h" > -#include "system/ram_addr.h" > #include "qapi/error.h" > #include "qemu/error-report.h" > #include "hw/remote/mpqemu-link.h" > diff --git a/hw/s390x/s390-virtio-ccw.c b/hw/s390x/s390-virtio-ccw.c > index d0c6e80cb05..ad2c48188a8 100644 > --- a/hw/s390x/s390-virtio-ccw.c > +++ b/hw/s390x/s390-virtio-ccw.c > @@ -13,7 +13,6 @@ > > #include "qemu/osdep.h" > #include "qapi/error.h" > -#include "system/ram_addr.h" > #include "system/confidential-guest-support.h" > #include "hw/boards.h" > #include "hw/s390x/sclp.h" > diff --git a/hw/vfio/spapr.c b/hw/vfio/spapr.c > index 8d9d68da4ec..0f23681a3f9 100644 > --- a/hw/vfio/spapr.c > +++ b/hw/vfio/spapr.c > @@ -17,7 +17,6 @@ > > #include "hw/vfio/vfio-container-legacy.h" > #include "hw/hw.h" > -#include "system/ram_addr.h" > #include "qemu/error-report.h" > #include "qapi/error.h" > #include "trace.h" > diff --git a/hw/virtio/virtio-mem.c b/hw/virtio/virtio-mem.c > index 1de2d3de521..15ba6799f22 100644 > --- a/hw/virtio/virtio-mem.c > +++ b/hw/virtio/virtio-mem.c > @@ -25,7 +25,6 @@ > #include "hw/virtio/virtio-mem.h" > #include "qapi/error.h" > #include "qapi/visitor.h" > -#include "system/ram_addr.h" > #include "migration/misc.h" > #include "hw/boards.h" > #include "hw/qdev-properties.h" > -- > 2.51.0
