qemu with hax to log dma reads & writes jcs.org/2018/11/12/vfio

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.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <1518684912-31637-1-git-send-email-thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

authored by

Thomas Huth and committed by
Paolo Bonzini
7eceff5b 0decdfe2

-23
-1
hw/arm/highbank.c
··· 27 27 #include "sysemu/kvm.h" 28 28 #include "sysemu/sysemu.h" 29 29 #include "hw/boards.h" 30 - #include "sysemu/block-backend.h" 31 30 #include "exec/address-spaces.h" 32 31 #include "qemu/error-report.h" 33 32 #include "hw/char/pl011.h"
-1
hw/arm/msf2-soc.c
··· 29 29 #include "exec/address-spaces.h" 30 30 #include "hw/char/serial.h" 31 31 #include "hw/boards.h" 32 - #include "sysemu/block-backend.h" 33 32 #include "qemu/cutils.h" 34 33 #include "hw/arm/msf2-soc.h" 35 34 #include "hw/misc/unimp.h"
-1
hw/arm/realview.c
··· 20 20 #include "sysemu/sysemu.h" 21 21 #include "hw/boards.h" 22 22 #include "hw/i2c/i2c.h" 23 - #include "sysemu/block-backend.h" 24 23 #include "exec/address-spaces.h" 25 24 #include "qemu/error-report.h" 26 25 #include "hw/char/pl011.h"
-1
hw/arm/tosa.c
··· 22 22 #include "hw/boards.h" 23 23 #include "hw/i2c/i2c.h" 24 24 #include "hw/ssi/ssi.h" 25 - #include "sysemu/block-backend.h" 26 25 #include "hw/sysbus.h" 27 26 #include "exec/address-spaces.h" 28 27 #include "sysemu/sysemu.h"
-2
hw/i386/pc.c
··· 50 50 #include "sysemu/qtest.h" 51 51 #include "kvm_i386.h" 52 52 #include "hw/xen/xen.h" 53 - #include "sysemu/block-backend.h" 54 - #include "hw/block/block.h" 55 53 #include "ui/qemu-spice.h" 56 54 #include "exec/memory.h" 57 55 #include "exec/address-spaces.h"
-1
hw/i386/pc_piix.c
··· 40 40 #include "sysemu/sysemu.h" 41 41 #include "hw/sysbus.h" 42 42 #include "sysemu/arch_init.h" 43 - #include "sysemu/block-backend.h" 44 43 #include "hw/i2c/smbus.h" 45 44 #include "hw/xen/xen.h" 46 45 #include "exec/memory.h"
-1
hw/ide/ahci-allwinner.c
··· 18 18 #include "qemu/osdep.h" 19 19 #include "hw/hw.h" 20 20 #include "qemu/error-report.h" 21 - #include "sysemu/block-backend.h" 22 21 #include "sysemu/dma.h" 23 22 #include "hw/ide/internal.h" 24 23 #include "hw/ide/ahci_internal.h"
-1
hw/ide/cmd646.c
··· 26 26 #include "hw/hw.h" 27 27 #include "hw/pci/pci.h" 28 28 #include "hw/isa/isa.h" 29 - #include "sysemu/block-backend.h" 30 29 #include "sysemu/sysemu.h" 31 30 #include "sysemu/dma.h" 32 31
-1
hw/ide/ich.c
··· 65 65 #include "hw/pci/msi.h" 66 66 #include "hw/pci/pci.h" 67 67 #include "hw/isa/isa.h" 68 - #include "sysemu/block-backend.h" 69 68 #include "sysemu/dma.h" 70 69 #include "hw/ide/pci.h" 71 70 #include "hw/ide/ahci_internal.h"
-1
hw/ide/isa.c
··· 25 25 #include "qemu/osdep.h" 26 26 #include "hw/hw.h" 27 27 #include "hw/isa/isa.h" 28 - #include "sysemu/block-backend.h" 29 28 #include "sysemu/dma.h" 30 29 31 30 #include "hw/ide/internal.h"
-1
hw/ide/microdrive.c
··· 25 25 #include "qemu/osdep.h" 26 26 #include "hw/hw.h" 27 27 #include "hw/pcmcia.h" 28 - #include "sysemu/block-backend.h" 29 28 #include "sysemu/dma.h" 30 29 31 30 #include "hw/ide/internal.h"
-1
hw/ide/mmio.c
··· 25 25 #include "qemu/osdep.h" 26 26 #include "hw/hw.h" 27 27 #include "hw/sysbus.h" 28 - #include "sysemu/block-backend.h" 29 28 #include "sysemu/dma.h" 30 29 31 30 #include "hw/ide/internal.h"
-1
hw/mips/mips_fulong2e.c
··· 27 27 #include "net/net.h" 28 28 #include "hw/boards.h" 29 29 #include "hw/i2c/smbus.h" 30 - #include "sysemu/block-backend.h" 31 30 #include "hw/block/flash.h" 32 31 #include "hw/mips/mips.h" 33 32 #include "hw/mips/cpudevs.h"
-1
hw/mips/mips_jazz.c
··· 41 41 #include "hw/timer/i8254.h" 42 42 #include "hw/display/vga.h" 43 43 #include "hw/audio/pcspk.h" 44 - #include "sysemu/block-backend.h" 45 44 #include "hw/sysbus.h" 46 45 #include "exec/address-spaces.h" 47 46 #include "sysemu/qtest.h"
-1
hw/ppc/mac_newworld.c
··· 69 69 #include "sysemu/kvm.h" 70 70 #include "kvm_ppc.h" 71 71 #include "hw/usb.h" 72 - #include "sysemu/block-backend.h" 73 72 #include "exec/address-spaces.h" 74 73 #include "hw/sysbus.h" 75 74 #include "qemu/cutils.h"
-1
hw/ppc/mac_oldworld.c
··· 44 44 #include "qemu/error-report.h" 45 45 #include "sysemu/kvm.h" 46 46 #include "kvm_ppc.h" 47 - #include "sysemu/block-backend.h" 48 47 #include "exec/address-spaces.h" 49 48 #include "qemu/cutils.h" 50 49
-1
hw/ppc/prep.c
··· 43 43 #include "hw/timer/mc146818rtc.h" 44 44 #include "hw/isa/pc87312.h" 45 45 #include "hw/net/ne2000-isa.h" 46 - #include "sysemu/block-backend.h" 47 46 #include "sysemu/arch_init.h" 48 47 #include "sysemu/kvm.h" 49 48 #include "sysemu/qtest.h"
-1
hw/scsi/mptendian.c
··· 24 24 #include "hw/hw.h" 25 25 #include "hw/pci/pci.h" 26 26 #include "sysemu/dma.h" 27 - #include "sysemu/block-backend.h" 28 27 #include "hw/pci/msi.h" 29 28 #include "qemu/iov.h" 30 29 #include "hw/scsi/scsi.h"
-1
hw/sd/core.c
··· 21 21 22 22 #include "qemu/osdep.h" 23 23 #include "hw/qdev-core.h" 24 - #include "sysemu/block-backend.h" 25 24 #include "hw/sd/sd.h" 26 25 #include "trace.h" 27 26
-1
hw/sparc/sun4m.c
··· 44 44 #include "hw/empty_slot.h" 45 45 #include "hw/loader.h" 46 46 #include "elf.h" 47 - #include "sysemu/block-backend.h" 48 47 #include "trace.h" 49 48 #include "qemu/cutils.h" 50 49
-2
hw/tricore/tricore_testboard.c
··· 28 28 #include "sysemu/sysemu.h" 29 29 #include "hw/boards.h" 30 30 #include "hw/loader.h" 31 - #include "sysemu/block-backend.h" 32 31 #include "exec/address-spaces.h" 33 - #include "hw/block/flash.h" 34 32 #include "elf.h" 35 33 #include "hw/tricore/tricore.h" 36 34 #include "qemu/error-report.h"