]> git.proxmox.com Git - mirror_qemu.git/commit
hw: Do not include "sysemu/blockdev.h" if it is not necessary
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 28 May 2018 23:27:12 +0000 (20:27 -0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 1 Jun 2018 12:15:10 +0000 (14:15 +0200)
commit6dd046a3c4ecf9864653c00c83aba05d0539a372
tree66dbc3041ef3563f835cd5e433c2fe8841271593
parent7dbaea42f101c7e47bf6cf3aed77ff903dfa2023
hw: Do not include "sysemu/blockdev.h" if it is not necessary

Remove those unneeded includes to speed up the compilation
process a little bit.

Code change produced with:

    $ git grep '#include "sysemu/blockdev.h"' | \
      cut -d: -f-1 | \
      xargs egrep -L "(BlockInterfaceType|DriveInfo|drive_get|blk_legacy_dinfo|blockdev_mark_auto_del)" | \
      xargs sed -i.bak '/#include "sysemu\/blockdev.h"/d'

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20180528232719.4721-15-f4bug@amsat.org>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/block/m25p80.c
hw/block/onenand.c
hw/i386/xen/xen-mapcache.c
hw/s390x/virtio-ccw.c
hw/scsi/scsi-generic.c
hw/sd/sdhci.c
hw/usb/dev-storage.c
monitor.c