Skip to contentSkip to conversation

hw: Do not include "sysemu/block-backend.h" if it is not necessary

PATCH In review Thomas Huth 2 participants 3 messages Feb 15, 2018 – Mar 7, 2018 Arm/Allwinner sunXi SoC support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hw: Do not include "sysemu/block-backend.h" if it is not necessary

After reviewing a patch from Philippe that removes block-backend.h from hw/lm32/milkymist.c, I noticed that this header is included unnecessarily in a lot of other files, too. Remove those unneeded includes to speed up the compilation process a little bit.

---
 hw/arm/highbank.c              | 1 -
 hw/arm/msf2-soc.c              | 1 -
 hw/arm/realview.c              | 1 -
 hw/arm/tosa.c                  | 1 -
 hw/i386/pc.c                   | 2 --
 hw/i386/pc_piix.c              | 1 -
 hw/ide/ahci-allwinner.c        | 1 -
 hw/ide/cmd646.c                | 1 -
 hw/ide/ich.c                   | 1 -
 hw/ide/isa.c                   | 1 -
 hw/ide/microdrive.c            | 1 -
 hw/ide/mmio.c                  | 1 -
 hw/mips/mips_fulong2e.c        | 1 -
 hw/mips/mips_jazz.c            | 1 -
 hw/ppc/mac_newworld.c          | 1 -
 hw/ppc/mac_oldworld.c          | 1 -
 hw/ppc/prep.c                  | 1 -
 hw/scsi/mptendian.c            | 1 -
 hw/sd/core.c                   | 1 -
 hw/sparc/sun4m.c               | 1 -
 hw/tricore/tricore_testboard.c | 2 --
 21 files changed, 23 deletions(-)
hw/arm/highbank.c +0 -1
index 287392b..1742cf6 100644
@@ -27,7 +27,6 @@
 #include "sysemu/kvm.h"
 #include "sysemu/sysemu.h"
 #include "hw/boards.h"
-#include "sysemu/block-backend.h"
 #include "exec/address-spaces.h"
 #include "qemu/error-report.h"
 #include "hw/char/pl011.h"
hw/arm/msf2-soc.c +0 -1
index a8ec2cd..f68df56 100644
@@ -29,7 +29,6 @@
 #include "exec/address-spaces.h"
 #include "hw/char/serial.h"
 #include "hw/boards.h"
-#include "sysemu/block-backend.h"
 #include "qemu/cutils.h"
 #include "hw/arm/msf2-soc.h"
 #include "hw/misc/unimp.h"
hw/arm/realview.c +0 -1
index 87cd1e5..2139a62 100644
@@ -20,7 +20,6 @@
 #include "sysemu/sysemu.h"
 #include "hw/boards.h"
 #include "hw/i2c/i2c.h"
-#include "sysemu/block-backend.h"
 #include "exec/address-spaces.h"
 #include "qemu/error-report.h"
 #include "hw/char/pl011.h"
hw/arm/tosa.c +0 -1
index a55b1a3..7a925fa 100644
@@ -22,7 +22,6 @@
 #include "hw/boards.h"
 #include "hw/i2c/i2c.h"
 #include "hw/ssi/ssi.h"
-#include "sysemu/block-backend.h"
 #include "hw/sysbus.h"
 #include "exec/address-spaces.h"
 #include "sysemu/sysemu.h"
hw/i386/pc.c +0 -2
index 55e69d6..7670b45 100644
@@ -50,8 +50,6 @@
 #include "sysemu/qtest.h"
 #include "kvm_i386.h"
 #include "hw/xen/xen.h"
-#include "sysemu/block-backend.h"
-#include "hw/block/block.h"
 #include "ui/qemu-spice.h"
 #include "exec/memory.h"
 #include "exec/address-spaces.h"
hw/i386/pc_piix.c +0 -1
index 456dc9e..527c922 100644
@@ -40,7 +40,6 @@
 #include "sysemu/sysemu.h"
 #include "hw/sysbus.h"
 #include "sysemu/arch_init.h"
-#include "sysemu/block-backend.h"
 #include "hw/i2c/smbus.h"
 #include "hw/xen/xen.h"
 #include "exec/memory.h"
hw/ide/ahci-allwinner.c +0 -1
index c3f1604..5397483 100644
@@ -18,7 +18,6 @@
 #include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "qemu/error-report.h"
-#include "sysemu/block-backend.h"
 #include "sysemu/dma.h"
 #include "hw/ide/internal.h"
 #include "hw/ide/ahci_internal.h"
hw/ide/cmd646.c +0 -1
index 65aff51..6bb92d7 100644
@@ -26,7 +26,6 @@
 #include "hw/hw.h"
 #include "hw/pci/pci.h"
 #include "hw/isa/isa.h"
-#include "sysemu/block-backend.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/dma.h"
 
hw/ide/ich.c +0 -1
index c01b24e..134478e 100644
@@ -65,7 +65,6 @@
 #include "hw/pci/msi.h"
 #include "hw/pci/pci.h"
 #include "hw/isa/isa.h"
-#include "sysemu/block-backend.h"
 #include "sysemu/dma.h"
 #include "hw/ide/pci.h"
 #include "hw/ide/ahci_internal.h"
hw/ide/isa.c +0 -1
index 9fb24fc..028bd61 100644
@@ -25,7 +25,6 @@
 #include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/isa/isa.h"
-#include "sysemu/block-backend.h"
 #include "sysemu/dma.h"
 
 #include "hw/ide/internal.h"
hw/ide/microdrive.c +0 -1
index 58e4f52..34bb98d 100644
@@ -25,7 +25,6 @@
 #include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/pcmcia.h"
-#include "sysemu/block-backend.h"
 #include "sysemu/dma.h"
 
 #include "hw/ide/internal.h"
hw/ide/mmio.c +0 -1
index 6f12f45..42fcf13 100644
@@ -25,7 +25,6 @@
 #include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/sysbus.h"
-#include "sysemu/block-backend.h"
 #include "sysemu/dma.h"
 
 #include "hw/ide/internal.h"
hw/mips/mips_fulong2e.c +0 -1
index f68c625..be4f839 100644
@@ -27,7 +27,6 @@
 #include "net/net.h"
 #include "hw/boards.h"
 #include "hw/i2c/smbus.h"
-#include "sysemu/block-backend.h"
 #include "hw/block/flash.h"
 #include "hw/mips/mips.h"
 #include "hw/mips/cpudevs.h"
hw/mips/mips_jazz.c +0 -1
index b09871a..08e6f62 100644
@@ -41,7 +41,6 @@
 #include "hw/timer/i8254.h"
 #include "hw/display/vga.h"
 #include "hw/audio/pcspk.h"
-#include "sysemu/block-backend.h"
 #include "hw/sysbus.h"
 #include "exec/address-spaces.h"
 #include "sysemu/qtest.h"
hw/ppc/mac_newworld.c +0 -1
index b832417..2c909d1 100644
@@ -68,7 +68,6 @@
 #include "sysemu/kvm.h"
 #include "kvm_ppc.h"
 #include "hw/usb.h"
-#include "sysemu/block-backend.h"
 #include "exec/address-spaces.h"
 #include "hw/sysbus.h"
 #include "qemu/cutils.h"
hw/ppc/mac_oldworld.c +0 -1
index d1f4546..e35575c 100644
@@ -43,7 +43,6 @@
 #include "qemu/error-report.h"
 #include "sysemu/kvm.h"
 #include "kvm_ppc.h"
-#include "sysemu/block-backend.h"
 #include "exec/address-spaces.h"
 #include "qemu/cutils.h"
 
hw/ppc/prep.c +0 -1
index 096d4d4..c9d8950 100644
@@ -43,7 +43,6 @@
 #include "hw/timer/mc146818rtc.h"
 #include "hw/isa/pc87312.h"
 #include "hw/net/ne2000-isa.h"
-#include "sysemu/block-backend.h"
 #include "sysemu/arch_init.h"
 #include "sysemu/kvm.h"
 #include "sysemu/qtest.h"
hw/scsi/mptendian.c +0 -1
index 3415229..8ae39a7 100644
@@ -24,7 +24,6 @@
 #include "hw/hw.h"
 #include "hw/pci/pci.h"
 #include "sysemu/dma.h"
-#include "sysemu/block-backend.h"
 #include "hw/pci/msi.h"
 #include "qemu/iov.h"
 #include "hw/scsi/scsi.h"
hw/sd/core.c +0 -1
index 3c6eae6..820345f 100644
@@ -21,7 +21,6 @@
 
 #include "qemu/osdep.h"
 #include "hw/qdev-core.h"
-#include "sysemu/block-backend.h"
 #include "hw/sd/sd.h"
 #include "trace.h"
 
hw/sparc/sun4m.c +0 -1
index f9892e3..c980096 100644
@@ -44,7 +44,6 @@
 #include "hw/empty_slot.h"
 #include "hw/loader.h"
 #include "elf.h"
-#include "sysemu/block-backend.h"
 #include "trace.h"
 #include "qemu/cutils.h"
 
hw/tricore/tricore_testboard.c +0 -2
index ac75eb2..8e61dfc 100644
@@ -28,9 +28,7 @@
 #include "sysemu/sysemu.h"
 #include "hw/boards.h"
 #include "hw/loader.h"
-#include "sysemu/block-backend.h"
 #include "exec/address-spaces.h"
-#include "hw/block/flash.h"
 #include "elf.h"
 #include "hw/tricore/tricore.h"
 #include "qemu/error-report.h"
Signature · 1 line
1.8.3.1
#1 lore raw
Quoted 277 lines · Thomas Huth

After reviewing a patch from Philippe that removes block-backend.h from hw/lm32/milkymist.c, I noticed that this header is included unnecessarily in a lot of other files, too. Remove those unneeded includes to speed up the compilation process a little bit.

---
 hw/arm/highbank.c              | 1 -
 hw/arm/msf2-soc.c              | 1 -
 hw/arm/realview.c              | 1 -
 hw/arm/tosa.c                  | 1 -
 hw/i386/pc.c                   | 2 --
 hw/i386/pc_piix.c              | 1 -
 hw/ide/ahci-allwinner.c        | 1 -
 hw/ide/cmd646.c                | 1 -
 hw/ide/ich.c                   | 1 -
 hw/ide/isa.c                   | 1 -
 hw/ide/microdrive.c            | 1 -
 hw/ide/mmio.c                  | 1 -
 hw/mips/mips_fulong2e.c        | 1 -
 hw/mips/mips_jazz.c            | 1 -
 hw/ppc/mac_newworld.c          | 1 -
 hw/ppc/mac_oldworld.c          | 1 -
 hw/ppc/prep.c                  | 1 -
 hw/scsi/mptendian.c            | 1 -
 hw/sd/core.c                   | 1 -
 hw/sparc/sun4m.c               | 1 -
 hw/tricore/tricore_testboard.c | 2 --
 21 files changed, 23 deletions(-)
hw/arm/highbank.c +0 -1
index 287392b..1742cf6 100644
@@ -27,7 +27,6 @@
 #include "sysemu/kvm.h"
 #include "sysemu/sysemu.h"
 #include "hw/boards.h"
-#include "sysemu/block-backend.h"
 #include "exec/address-spaces.h"
 #include "qemu/error-report.h"
 #include "hw/char/pl011.h"
hw/arm/msf2-soc.c +0 -1
index a8ec2cd..f68df56 100644
@@ -29,7 +29,6 @@
 #include "exec/address-spaces.h"
 #include "hw/char/serial.h"
 #include "hw/boards.h"
-#include "sysemu/block-backend.h"
 #include "qemu/cutils.h"
 #include "hw/arm/msf2-soc.h"
 #include "hw/misc/unimp.h"
hw/arm/realview.c +0 -1
index 87cd1e5..2139a62 100644
@@ -20,7 +20,6 @@
 #include "sysemu/sysemu.h"
 #include "hw/boards.h"
 #include "hw/i2c/i2c.h"
-#include "sysemu/block-backend.h"
 #include "exec/address-spaces.h"
 #include "qemu/error-report.h"
 #include "hw/char/pl011.h"
hw/arm/tosa.c +0 -1
index a55b1a3..7a925fa 100644
@@ -22,7 +22,6 @@
 #include "hw/boards.h"
 #include "hw/i2c/i2c.h"
 #include "hw/ssi/ssi.h"
-#include "sysemu/block-backend.h"
 #include "hw/sysbus.h"
 #include "exec/address-spaces.h"
 #include "sysemu/sysemu.h"
hw/i386/pc.c +0 -2
index 55e69d6..7670b45 100644
@@ -50,8 +50,6 @@
 #include "sysemu/qtest.h"
 #include "kvm_i386.h"
 #include "hw/xen/xen.h"
-#include "sysemu/block-backend.h"
-#include "hw/block/block.h"
 #include "ui/qemu-spice.h"
 #include "exec/memory.h"
 #include "exec/address-spaces.h"
hw/i386/pc_piix.c +0 -1
index 456dc9e..527c922 100644
@@ -40,7 +40,6 @@
 #include "sysemu/sysemu.h"
 #include "hw/sysbus.h"
 #include "sysemu/arch_init.h"
-#include "sysemu/block-backend.h"
 #include "hw/i2c/smbus.h"
 #include "hw/xen/xen.h"
 #include "exec/memory.h"
hw/ide/ahci-allwinner.c +0 -1
index c3f1604..5397483 100644
@@ -18,7 +18,6 @@
 #include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "qemu/error-report.h"
-#include "sysemu/block-backend.h"
 #include "sysemu/dma.h"
 #include "hw/ide/internal.h"
 #include "hw/ide/ahci_internal.h"
hw/ide/cmd646.c +0 -1
index 65aff51..6bb92d7 100644
@@ -26,7 +26,6 @@
 #include "hw/hw.h"
 #include "hw/pci/pci.h"
 #include "hw/isa/isa.h"
-#include "sysemu/block-backend.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/dma.h"
 
hw/ide/ich.c +0 -1
index c01b24e..134478e 100644
@@ -65,7 +65,6 @@
 #include "hw/pci/msi.h"
 #include "hw/pci/pci.h"
 #include "hw/isa/isa.h"
-#include "sysemu/block-backend.h"
 #include "sysemu/dma.h"
 #include "hw/ide/pci.h"
 #include "hw/ide/ahci_internal.h"
hw/ide/isa.c +0 -1
index 9fb24fc..028bd61 100644
@@ -25,7 +25,6 @@
 #include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/isa/isa.h"
-#include "sysemu/block-backend.h"
 #include "sysemu/dma.h"
 
 #include "hw/ide/internal.h"
hw/ide/microdrive.c +0 -1
index 58e4f52..34bb98d 100644
@@ -25,7 +25,6 @@
 #include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/pcmcia.h"
-#include "sysemu/block-backend.h"
 #include "sysemu/dma.h"
 
 #include "hw/ide/internal.h"
hw/ide/mmio.c +0 -1
index 6f12f45..42fcf13 100644
@@ -25,7 +25,6 @@
 #include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/sysbus.h"
-#include "sysemu/block-backend.h"
 #include "sysemu/dma.h"
 
 #include "hw/ide/internal.h"
hw/mips/mips_fulong2e.c +0 -1
index f68c625..be4f839 100644
@@ -27,7 +27,6 @@
 #include "net/net.h"
 #include "hw/boards.h"
 #include "hw/i2c/smbus.h"
-#include "sysemu/block-backend.h"
 #include "hw/block/flash.h"
 #include "hw/mips/mips.h"
 #include "hw/mips/cpudevs.h"
hw/mips/mips_jazz.c +0 -1
index b09871a..08e6f62 100644
@@ -41,7 +41,6 @@
 #include "hw/timer/i8254.h"
 #include "hw/display/vga.h"
 #include "hw/audio/pcspk.h"
-#include "sysemu/block-backend.h"
 #include "hw/sysbus.h"
 #include "exec/address-spaces.h"
 #include "sysemu/qtest.h"
hw/ppc/mac_newworld.c +0 -1
index b832417..2c909d1 100644
@@ -68,7 +68,6 @@
 #include "sysemu/kvm.h"
 #include "kvm_ppc.h"
 #include "hw/usb.h"
-#include "sysemu/block-backend.h"
 #include "exec/address-spaces.h"
 #include "hw/sysbus.h"
 #include "qemu/cutils.h"
hw/ppc/mac_oldworld.c +0 -1
index d1f4546..e35575c 100644
@@ -43,7 +43,6 @@
 #include "qemu/error-report.h"
 #include "sysemu/kvm.h"
 #include "kvm_ppc.h"
-#include "sysemu/block-backend.h"
 #include "exec/address-spaces.h"
 #include "qemu/cutils.h"
 
hw/ppc/prep.c +0 -1
index 096d4d4..c9d8950 100644
@@ -43,7 +43,6 @@
 #include "hw/timer/mc146818rtc.h"
 #include "hw/isa/pc87312.h"
 #include "hw/net/ne2000-isa.h"
-#include "sysemu/block-backend.h"
 #include "sysemu/arch_init.h"
 #include "sysemu/kvm.h"
 #include "sysemu/qtest.h"
hw/scsi/mptendian.c +0 -1
index 3415229..8ae39a7 100644
@@ -24,7 +24,6 @@
 #include "hw/hw.h"
 #include "hw/pci/pci.h"
 #include "sysemu/dma.h"
-#include "sysemu/block-backend.h"
 #include "hw/pci/msi.h"
 #include "qemu/iov.h"
 #include "hw/scsi/scsi.h"
hw/sd/core.c +0 -1
index 3c6eae6..820345f 100644
@@ -21,7 +21,6 @@
 
 #include "qemu/osdep.h"
 #include "hw/qdev-core.h"
-#include "sysemu/block-backend.h"
 #include "hw/sd/sd.h"
 #include "trace.h"
 
hw/sparc/sun4m.c +0 -1
index f9892e3..c980096 100644
@@ -44,7 +44,6 @@
 #include "hw/empty_slot.h"
 #include "hw/loader.h"
 #include "elf.h"
-#include "sysemu/block-backend.h"
 #include "trace.h"
 #include "qemu/cutils.h"
 
hw/tricore/tricore_testboard.c +0 -0
index ac75eb2..8e61dfc 100644

hw/tricore/tricore_testboard.c line 34

Quoted 9 lines
hw/tricore/tricore_testboard.c +0 -2
@@ -28,9 +28,7 @@
 #include "sysemu/sysemu.h"
 #include "hw/boards.h"
 #include "hw/loader.h"
-#include "sysemu/block-backend.h"
 #include "exec/address-spaces.h"
-#include "hw/block/flash.h"
 #include "elf.h"
 #include "hw/tricore/tricore.h"
 #include "qemu/error-report.h"

Ping?

Thomas

#2 lore raw
In reply to Thomas Huth
Quoted 6 lines · Thomas Huth

After reviewing a patch from Philippe that removes block-backend.h from hw/lm32/milkymist.c, I noticed that this header is included unnecessarily in a lot of other files, too. Remove those unneeded includes to speed up the compilation process a little bit.

Michael seems busy, so I'll pick this up.

Paolo

Quoted 280 lines
---
 hw/arm/highbank.c              | 1 -
 hw/arm/msf2-soc.c              | 1 -
 hw/arm/realview.c              | 1 -
 hw/arm/tosa.c                  | 1 -
 hw/i386/pc.c                   | 2 --
 hw/i386/pc_piix.c              | 1 -
 hw/ide/ahci-allwinner.c        | 1 -
 hw/ide/cmd646.c                | 1 -
 hw/ide/ich.c                   | 1 -
 hw/ide/isa.c                   | 1 -
 hw/ide/microdrive.c            | 1 -
 hw/ide/mmio.c                  | 1 -
 hw/mips/mips_fulong2e.c        | 1 -
 hw/mips/mips_jazz.c            | 1 -
 hw/ppc/mac_newworld.c          | 1 -
 hw/ppc/mac_oldworld.c          | 1 -
 hw/ppc/prep.c                  | 1 -
 hw/scsi/mptendian.c            | 1 -
 hw/sd/core.c                   | 1 -
 hw/sparc/sun4m.c               | 1 -
 hw/tricore/tricore_testboard.c | 2 --
 21 files changed, 23 deletions(-)
hw/arm/highbank.c +0 -1
index 287392b..1742cf6 100644
@@ -27,7 +27,6 @@
 #include "sysemu/kvm.h"
 #include "sysemu/sysemu.h"
 #include "hw/boards.h"
-#include "sysemu/block-backend.h"
 #include "exec/address-spaces.h"
 #include "qemu/error-report.h"
 #include "hw/char/pl011.h"
hw/arm/msf2-soc.c +0 -1
index a8ec2cd..f68df56 100644
@@ -29,7 +29,6 @@
 #include "exec/address-spaces.h"
 #include "hw/char/serial.h"
 #include "hw/boards.h"
-#include "sysemu/block-backend.h"
 #include "qemu/cutils.h"
 #include "hw/arm/msf2-soc.h"
 #include "hw/misc/unimp.h"
hw/arm/realview.c +0 -1
index 87cd1e5..2139a62 100644
@@ -20,7 +20,6 @@
 #include "sysemu/sysemu.h"
 #include "hw/boards.h"
 #include "hw/i2c/i2c.h"
-#include "sysemu/block-backend.h"
 #include "exec/address-spaces.h"
 #include "qemu/error-report.h"
 #include "hw/char/pl011.h"
hw/arm/tosa.c +0 -1
index a55b1a3..7a925fa 100644
@@ -22,7 +22,6 @@
 #include "hw/boards.h"
 #include "hw/i2c/i2c.h"
 #include "hw/ssi/ssi.h"
-#include "sysemu/block-backend.h"
 #include "hw/sysbus.h"
 #include "exec/address-spaces.h"
 #include "sysemu/sysemu.h"
hw/i386/pc.c +0 -2
index 55e69d6..7670b45 100644
@@ -50,8 +50,6 @@
 #include "sysemu/qtest.h"
 #include "kvm_i386.h"
 #include "hw/xen/xen.h"
-#include "sysemu/block-backend.h"
-#include "hw/block/block.h"
 #include "ui/qemu-spice.h"
 #include "exec/memory.h"
 #include "exec/address-spaces.h"
hw/i386/pc_piix.c +0 -1
index 456dc9e..527c922 100644
@@ -40,7 +40,6 @@
 #include "sysemu/sysemu.h"
 #include "hw/sysbus.h"
 #include "sysemu/arch_init.h"
-#include "sysemu/block-backend.h"
 #include "hw/i2c/smbus.h"
 #include "hw/xen/xen.h"
 #include "exec/memory.h"
hw/ide/ahci-allwinner.c +0 -1
index c3f1604..5397483 100644
@@ -18,7 +18,6 @@
 #include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "qemu/error-report.h"
-#include "sysemu/block-backend.h"
 #include "sysemu/dma.h"
 #include "hw/ide/internal.h"
 #include "hw/ide/ahci_internal.h"
hw/ide/cmd646.c +0 -1
index 65aff51..6bb92d7 100644
@@ -26,7 +26,6 @@
 #include "hw/hw.h"
 #include "hw/pci/pci.h"
 #include "hw/isa/isa.h"
-#include "sysemu/block-backend.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/dma.h"
 
hw/ide/ich.c +0 -1
index c01b24e..134478e 100644
@@ -65,7 +65,6 @@
 #include "hw/pci/msi.h"
 #include "hw/pci/pci.h"
 #include "hw/isa/isa.h"
-#include "sysemu/block-backend.h"
 #include "sysemu/dma.h"
 #include "hw/ide/pci.h"
 #include "hw/ide/ahci_internal.h"
hw/ide/isa.c +0 -1
index 9fb24fc..028bd61 100644
@@ -25,7 +25,6 @@
 #include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/isa/isa.h"
-#include "sysemu/block-backend.h"
 #include "sysemu/dma.h"
 
 #include "hw/ide/internal.h"
hw/ide/microdrive.c +0 -1
index 58e4f52..34bb98d 100644
@@ -25,7 +25,6 @@
 #include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/pcmcia.h"
-#include "sysemu/block-backend.h"
 #include "sysemu/dma.h"
 
 #include "hw/ide/internal.h"
hw/ide/mmio.c +0 -1
index 6f12f45..42fcf13 100644
@@ -25,7 +25,6 @@
 #include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/sysbus.h"
-#include "sysemu/block-backend.h"
 #include "sysemu/dma.h"
 
 #include "hw/ide/internal.h"
hw/mips/mips_fulong2e.c +0 -1
index f68c625..be4f839 100644
@@ -27,7 +27,6 @@
 #include "net/net.h"
 #include "hw/boards.h"
 #include "hw/i2c/smbus.h"
-#include "sysemu/block-backend.h"
 #include "hw/block/flash.h"
 #include "hw/mips/mips.h"
 #include "hw/mips/cpudevs.h"
hw/mips/mips_jazz.c +0 -1
index b09871a..08e6f62 100644
@@ -41,7 +41,6 @@
 #include "hw/timer/i8254.h"
 #include "hw/display/vga.h"
 #include "hw/audio/pcspk.h"
-#include "sysemu/block-backend.h"
 #include "hw/sysbus.h"
 #include "exec/address-spaces.h"
 #include "sysemu/qtest.h"
hw/ppc/mac_newworld.c +0 -1
index b832417..2c909d1 100644
@@ -68,7 +68,6 @@
 #include "sysemu/kvm.h"
 #include "kvm_ppc.h"
 #include "hw/usb.h"
-#include "sysemu/block-backend.h"
 #include "exec/address-spaces.h"
 #include "hw/sysbus.h"
 #include "qemu/cutils.h"
hw/ppc/mac_oldworld.c +0 -1
index d1f4546..e35575c 100644
@@ -43,7 +43,6 @@
 #include "qemu/error-report.h"
 #include "sysemu/kvm.h"
 #include "kvm_ppc.h"
-#include "sysemu/block-backend.h"
 #include "exec/address-spaces.h"
 #include "qemu/cutils.h"
 
hw/ppc/prep.c +0 -1
index 096d4d4..c9d8950 100644
@@ -43,7 +43,6 @@
 #include "hw/timer/mc146818rtc.h"
 #include "hw/isa/pc87312.h"
 #include "hw/net/ne2000-isa.h"
-#include "sysemu/block-backend.h"
 #include "sysemu/arch_init.h"
 #include "sysemu/kvm.h"
 #include "sysemu/qtest.h"
hw/scsi/mptendian.c +0 -1
index 3415229..8ae39a7 100644
@@ -24,7 +24,6 @@
 #include "hw/hw.h"
 #include "hw/pci/pci.h"
 #include "sysemu/dma.h"
-#include "sysemu/block-backend.h"
 #include "hw/pci/msi.h"
 #include "qemu/iov.h"
 #include "hw/scsi/scsi.h"
hw/sd/core.c +0 -1
index 3c6eae6..820345f 100644
@@ -21,7 +21,6 @@
 
 #include "qemu/osdep.h"
 #include "hw/qdev-core.h"
-#include "sysemu/block-backend.h"
 #include "hw/sd/sd.h"
 #include "trace.h"
 
hw/sparc/sun4m.c +0 -1
index f9892e3..c980096 100644
@@ -44,7 +44,6 @@
 #include "hw/empty_slot.h"
 #include "hw/loader.h"
 #include "elf.h"
-#include "sysemu/block-backend.h"
 #include "trace.h"
 #include "qemu/cutils.h"
 
hw/tricore/tricore_testboard.c +0 -2
index ac75eb2..8e61dfc 100644
@@ -28,9 +28,7 @@
 #include "sysemu/sysemu.h"
 #include "hw/boards.h"
 #include "hw/loader.h"
-#include "sysemu/block-backend.h"
 #include "exec/address-spaces.h"
-#include "hw/block/flash.h"
 #include "elf.h"
 #include "hw/tricore/tricore.h"
 #include "qemu/error-report.h"