]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
Do not include hw/boards.h if it's not really necessary
authorThomas Huth <thuth@redhat.com>
Fri, 16 Apr 2021 17:13:12 +0000 (19:13 +0200)
committerLaurent Vivier <laurent@vivier.eu>
Sun, 2 May 2021 15:24:51 +0000 (17:24 +0200)
Stop including hw/boards.h in files that don't need it.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20210416171314.2074665-3-thuth@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
35 files changed:
accel/tcg/tcg-accel-ops-icount.c
accel/tcg/tcg-accel-ops-rr.c
accel/tcg/tcg-accel-ops.c
hw/acpi/cpu.c
hw/acpi/memory_hotplug.c
hw/alpha/typhoon.c
hw/arm/aspeed.c
hw/arm/omap1.c
hw/arm/omap2.c
hw/arm/strongarm.c
hw/arm/virt.c
hw/avr/arduino.c
hw/avr/atmega.c
hw/display/next-fb.c
hw/hppa/machine.c
hw/i386/acpi-build.c
hw/i386/acpi-microvm.c
hw/i386/intel_iommu.c
hw/i386/pc.c
hw/i386/x86-iommu.c
hw/intc/sifive_plic.c
hw/mips/loongson3_virt.c
hw/ppc/e500.c
hw/ppc/mac_newworld.c
hw/ppc/mac_oldworld.c
hw/ppc/pnv.c
hw/ppc/ppc4xx_devs.c
hw/ppc/rs6000_mc.c
hw/ppc/spapr.c
hw/ppc/spapr_rtas.c
hw/remote/iohub.c
hw/s390x/s390-virtio-ccw.c
hw/tricore/tc27x_soc.c
hw/tricore/triboard.c
softmmu/vl.c

index 13b8fbeb699df0810914e777f3b1c8e2555cc8fa..ea42d1d51b10ebb9b61d6ea6506f857cdada6d5d 100644 (file)
@@ -30,7 +30,6 @@
 #include "qemu/main-loop.h"
 #include "qemu/guest-random.h"
 #include "exec/exec-all.h"
-#include "hw/boards.h"
 
 #include "tcg-accel-ops.h"
 #include "tcg-accel-ops-icount.h"
index 018b54c508fac1c7f5c7f8ff0c83baa044c2a9b0..c02c061ecb351abb8df3516a0e20ef1cc9512eb3 100644 (file)
@@ -30,7 +30,6 @@
 #include "qemu/main-loop.h"
 #include "qemu/guest-random.h"
 #include "exec/exec-all.h"
-#include "hw/boards.h"
 
 #include "tcg-accel-ops.h"
 #include "tcg-accel-ops-rr.h"
index 6cdcaa2855c8e90cf1a8224ff04202d6c2c7b959..7191315aeed4dca51e09aeefb806668a38294bc1 100644 (file)
@@ -32,7 +32,6 @@
 #include "qemu/main-loop.h"
 #include "qemu/guest-random.h"
 #include "exec/exec-all.h"
-#include "hw/boards.h"
 
 #include "tcg-accel-ops.h"
 #include "tcg-accel-ops-mttcg.h"
index e2317be546b3770e04ddcdca72a1aafb8a2f671c..f82e9512fdf5ab7d8854cb262d5fccfd360cc854 100644 (file)
@@ -1,5 +1,4 @@
 #include "qemu/osdep.h"
-#include "hw/boards.h"
 #include "migration/vmstate.h"
 #include "hw/acpi/cpu.h"
 #include "qapi/error.h"
index 0bdcf15528f361eca4b08eb345c58e864fd05d01..af3788942350d20bc9329719328c72e2c7a643ec 100644 (file)
@@ -2,7 +2,6 @@
 #include "hw/acpi/memory_hotplug.h"
 #include "hw/acpi/pc-hotplug.h"
 #include "hw/mem/pc-dimm.h"
-#include "hw/boards.h"
 #include "hw/qdev-core.h"
 #include "migration/vmstate.h"
 #include "trace.h"
index a42b31981216964c2634bcb93cd42e4cc18b8b72..96c35c5fdbd8a83d34362fbb0d6f4babccc80b27 100644 (file)
@@ -11,7 +11,6 @@
 #include "qemu/units.h"
 #include "qapi/error.h"
 #include "cpu.h"
-#include "hw/boards.h"
 #include "hw/irq.h"
 #include "alpha_sys.h"
 #include "exec/address-spaces.h"
index c4f85dab63b340127ee521a873a226652ed97e2c..b1e5bc76e4d2adf67d0f7d7e6073ddd4258901f8 100644 (file)
@@ -16,7 +16,6 @@
 #include "hw/arm/boot.h"
 #include "hw/arm/aspeed.h"
 #include "hw/arm/aspeed_soc.h"
-#include "hw/boards.h"
 #include "hw/i2c/smbus_eeprom.h"
 #include "hw/misc/pca9552.h"
 #include "hw/misc/tmp105.h"
index 02c0f66431b98747813c9f5591b893d13f44fc00..180d3788f891682a1805715f1ea4aae7f86ab5ac 100644 (file)
@@ -24,7 +24,6 @@
 #include "qemu-common.h"
 #include "cpu.h"
 #include "exec/address-spaces.h"
-#include "hw/boards.h"
 #include "hw/hw.h"
 #include "hw/irq.h"
 #include "hw/qdev-properties.h"
index 16d388fc79d5e8a680fd86a08a78bf6ec7ecd09c..02b1aa8c974b8efe331f2dc02efeec093c35f403 100644 (file)
@@ -27,7 +27,6 @@
 #include "sysemu/qtest.h"
 #include "sysemu/reset.h"
 #include "sysemu/runstate.h"
-#include "hw/boards.h"
 #include "hw/irq.h"
 #include "hw/qdev-properties.h"
 #include "hw/arm/boot.h"
index e3e3ea61634f3534990edb97da3dd6148f3f27e9..939a57dda558ca2ac28d04f2741cbca197f8eefe 100644 (file)
@@ -30,7 +30,6 @@
 #include "qemu/osdep.h"
 #include "qemu-common.h"
 #include "cpu.h"
-#include "hw/boards.h"
 #include "hw/irq.h"
 #include "hw/qdev-properties.h"
 #include "hw/qdev-properties-system.h"
index 881969af6b2544d1cdceaf5c97124b27ff42782b..d8cfdf23c6220db43850cc11158b167c9ca19bc2 100644 (file)
@@ -36,7 +36,6 @@
 #include "monitor/qdev.h"
 #include "qapi/error.h"
 #include "hw/sysbus.h"
-#include "hw/boards.h"
 #include "hw/arm/boot.h"
 #include "hw/arm/primecell.h"
 #include "hw/arm/virt.h"
index 3ff31492fa6d2422b4e33cbad947a2fd158fb26e..48ef478346e9c6e8b6932cf11568f1e8f243848a 100644 (file)
@@ -12,7 +12,6 @@
 
 #include "qemu/osdep.h"
 #include "qapi/error.h"
-#include "hw/boards.h"
 #include "atmega.h"
 #include "boot.h"
 #include "qom/object.h"
index 44c6afebbb66f2aa0d7248f7f4666a493bedacc5..80b8a41cb5a5927aaf16b72a43419ccec2d4c7a3 100644 (file)
@@ -18,7 +18,6 @@
 #include "hw/qdev-properties.h"
 #include "hw/sysbus.h"
 #include "qom/object.h"
-#include "hw/boards.h" /* FIXME memory_region_allocate_system_memory for sram */
 #include "hw/misc/unimp.h"
 #include "atmega.h"
 
index cc134c2d5beb6c4641b37743264a46bff1b5b8dd..dd6a1aa8aeeb5be4f163fb16b1850451f3111935 100644 (file)
@@ -24,7 +24,6 @@
 #include "qemu/osdep.h"
 #include "qapi/error.h"
 #include "ui/console.h"
-#include "hw/boards.h"
 #include "hw/loader.h"
 #include "framebuffer.h"
 #include "ui/pixel_ops.h"
index f2b71db9bd79bb967ddd12dbd53a52b21f983854..2a46af5bc9b7a34d73e0105de611882a349c812b 100644 (file)
@@ -9,7 +9,6 @@
 #include "cpu.h"
 #include "elf.h"
 #include "hw/loader.h"
-#include "hw/boards.h"
 #include "qemu/error-report.h"
 #include "sysemu/reset.h"
 #include "sysemu/sysemu.h"
index de98750aeff6bdec266a85c38357b7e8a1517061..bfecb0038cb9961e09cacc6f96620c0026b193c0 100644 (file)
@@ -43,7 +43,6 @@
 #include "sysemu/tpm.h"
 #include "hw/acpi/tpm.h"
 #include "hw/acpi/vmgenid.h"
-#include "hw/boards.h"
 #include "sysemu/tpm_backend.h"
 #include "hw/rtc/mc146818rtc_regs.h"
 #include "migration/vmstate.h"
index ccd3303aacaca6ffacdd452e1051d73ce0982a06..1a0f77b911110bb28538c20a71e3e608f7cee814 100644 (file)
@@ -30,7 +30,6 @@
 #include "hw/acpi/bios-linker-loader.h"
 #include "hw/acpi/generic_event_device.h"
 #include "hw/acpi/utils.h"
-#include "hw/boards.h"
 #include "hw/i386/fw_cfg.h"
 #include "hw/i386/microvm.h"
 #include "hw/pci/pci.h"
index 6be8f3291854d3a007f56b39e3ccd820ad881fb8..1c106434325dad3f86e00bc42a3282f0b9c8cfa3 100644 (file)
@@ -31,7 +31,6 @@
 #include "hw/qdev-properties.h"
 #include "hw/i386/pc.h"
 #include "hw/i386/apic-msidef.h"
-#include "hw/boards.h"
 #include "hw/i386/x86-iommu.h"
 #include "hw/pci-host/q35.h"
 #include "sysemu/kvm.h"
index 364816efc9d217b5d1929ba89e7c25792faa3dc0..88ca37bb659135cfb5a192ad3a9a56f1f748771c 100644 (file)
@@ -74,7 +74,6 @@
 #include "qemu/cutils.h"
 #include "hw/acpi/acpi.h"
 #include "hw/acpi/cpu_hotplug.h"
-#include "hw/boards.h"
 #include "acpi-build.h"
 #include "hw/mem/pc-dimm.h"
 #include "hw/mem/nvdimm.h"
index 5f4301639c5bfcfc5ae01a666784486ca7af8a13..86ad03972e705ad8d9f980f97b296b6f52b52960 100644 (file)
@@ -19,7 +19,6 @@
 
 #include "qemu/osdep.h"
 #include "hw/sysbus.h"
-#include "hw/boards.h"
 #include "hw/i386/x86-iommu.h"
 #include "hw/qdev-properties.h"
 #include "hw/i386/pc.h"
index 6a53e6329924a175178c2ae6d12d421fb6b8844a..78903beb06d3b8f1c9f1a84df9e7aad5ac87fa9c 100644 (file)
@@ -25,7 +25,6 @@
 #include "qemu/error-report.h"
 #include "hw/sysbus.h"
 #include "hw/pci/msi.h"
-#include "hw/boards.h"
 #include "hw/qdev-properties.h"
 #include "hw/intc/sifive_plic.h"
 #include "target/riscv/cpu.h"
index f9c0873a9865d6a2170f1043e1faa29b591bc7ef..1d6573bc6335a458c248a96391b4ba2d2b42ccd8 100644 (file)
@@ -32,7 +32,6 @@
 #include "cpu.h"
 #include "elf.h"
 #include "kvm_mips.h"
-#include "hw/boards.h"
 #include "hw/char/serial.h"
 #include "hw/intc/loongson_liointc.h"
 #include "hw/mips/mips.h"
index 79467ac5123755e55be3003002de9ad42f34b336..03b3bd322fdf64f69f11182bc2e6639ce90ddf43 100644 (file)
@@ -25,7 +25,6 @@
 #include "qemu/config-file.h"
 #include "hw/char/serial.h"
 #include "hw/pci/pci.h"
-#include "hw/boards.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/kvm.h"
 #include "sysemu/reset.h"
index 21759628466fc2e563fec35ce11676693763dc48..9659857dba8cff9fb82cb1eb8765c0bf31e910ef 100644 (file)
@@ -58,7 +58,6 @@
 #include "hw/pci/pci.h"
 #include "net/net.h"
 #include "sysemu/sysemu.h"
-#include "hw/boards.h"
 #include "hw/nvram/fw_cfg.h"
 #include "hw/char/escc.h"
 #include "hw/misc/macio/macio.h"
index 963d247f5f54cc34ecc59e48dc71ed3258772485..95d3d95158547d5dc9ba91fa4249c7355a990f11 100644 (file)
@@ -38,7 +38,6 @@
 #include "hw/isa/isa.h"
 #include "hw/pci/pci.h"
 #include "hw/pci/pci_host.h"
-#include "hw/boards.h"
 #include "hw/nvram/fw_cfg.h"
 #include "hw/char/escc.h"
 #include "hw/misc/macio/macio.h"
index 6faf1fe4733d9490f2d6003a0a653e1f98cc822d..22b1c4f1f3c27ec541838c6270bb620970e236db 100644 (file)
@@ -52,7 +52,6 @@
 #include "hw/ppc/pnv_pnor.h"
 
 #include "hw/isa/isa.h"
-#include "hw/boards.h"
 #include "hw/char/serial.h"
 #include "hw/rtc/mc146818rtc.h"
 
index fe9d4f7155e1f700e7f97eb3c2748dacdc219516..980c48944fc78e933156ca7d0f4d5eac8faa43a6 100644 (file)
@@ -29,7 +29,6 @@
 #include "hw/irq.h"
 #include "hw/ppc/ppc.h"
 #include "hw/ppc/ppc4xx.h"
-#include "hw/boards.h"
 #include "hw/intc/ppc-uic.h"
 #include "hw/qdev-properties.h"
 #include "qemu/log.h"
index 4db5b51a2dd08d17d333f109d6777494ed8f0abf..c0bc212e92400d37ef267f59abb2a59cf612f3ca 100644 (file)
@@ -23,7 +23,6 @@
 #include "hw/qdev-properties.h"
 #include "migration/vmstate.h"
 #include "exec/address-spaces.h"
-#include "hw/boards.h"
 #include "qapi/error.h"
 #include "trace.h"
 #include "qom/object.h"
index 529ff056dd2afd79541bc822364f16b9381d5328..0ee61b312859685b89a2b8b3fd566f5f1e9fd7b3 100644 (file)
@@ -54,7 +54,6 @@
 #include "cpu-models.h"
 #include "hw/core/cpu.h"
 
-#include "hw/boards.h"
 #include "hw/ppc/ppc.h"
 #include "hw/loader.h"
 
index 8a79f9c6289b7a8879b1f578e017e92de0d5a0e4..fb64be1150dbd7dc85c025a246258b4a0d725dcb 100644 (file)
@@ -41,7 +41,6 @@
 #include "hw/ppc/spapr_rtas.h"
 #include "hw/ppc/spapr_cpu_core.h"
 #include "hw/ppc/ppc.h"
-#include "hw/boards.h"
 
 #include <libfdt.h>
 #include "hw/ppc/spapr_drc.h"
index e4ff131a6b84bc5bcdb3d660010a97152ed4fe6a..547d597f0feb4f0dc4ac4f9073ea0d824b756734 100644 (file)
@@ -15,7 +15,6 @@
 #include "hw/pci/pci_ids.h"
 #include "hw/pci/pci_bus.h"
 #include "qemu/thread.h"
-#include "hw/boards.h"
 #include "hw/remote/machine.h"
 #include "hw/remote/iohub.h"
 #include "qemu/main-loop.h"
index 56b52d2d3091e93d42c4410f9d8267a0b79c7795..0a97310d4239b04cab0ed9225627d262c317ae40 100644 (file)
 #include "qemu/osdep.h"
 #include "qapi/error.h"
 #include "cpu.h"
-#include "hw/boards.h"
 #include "exec/address-spaces.h"
 #include "exec/ram_addr.h"
-#include "hw/boards.h"
 #include "hw/s390x/s390-virtio-hcall.h"
 #include "hw/s390x/sclp.h"
 #include "hw/s390x/s390_flic.h"
index dea9ba3cca799c9b485eb47ec69c22e12be64f8d..dcccdba7862394c4b589a3ee2b85c8ee344a285e 100644 (file)
@@ -21,7 +21,6 @@
 #include "qemu/osdep.h"
 #include "qapi/error.h"
 #include "hw/sysbus.h"
-#include "hw/boards.h"
 #include "hw/loader.h"
 #include "qemu/units.h"
 #include "hw/misc/unimp.h"
index 16e2fd7e27ed6b818875e270f9df85c5277687d0..f8d5f7a787610d8ad178a7dd0699d05001fd4415 100644 (file)
@@ -24,7 +24,6 @@
 #include "hw/qdev-properties.h"
 #include "cpu.h"
 #include "net/net.h"
-#include "hw/boards.h"
 #include "hw/loader.h"
 #include "exec/address-spaces.h"
 #include "elf.h"
index aadb52613888ef6ac1fe7ec3a0382e8b4cb50ef6..307944aef3021716df063977a145608126fd1609 100644 (file)
@@ -27,7 +27,6 @@
 #include "qemu/datadir.h"
 #include "qemu/units.h"
 #include "exec/cpu-common.h"
-#include "hw/boards.h"
 #include "hw/qdev-properties.h"
 #include "qapi/compat-policy.h"
 #include "qapi/error.h"