summaryrefslogtreecommitdiffstats
path: root/hw/i386/xen
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2018-05-29 01:27:12 +0200
committerPaolo Bonzini2018-06-01 14:15:10 +0200
commit6dd046a3c4ecf9864653c00c83aba05d0539a372 (patch)
tree66dbc3041ef3563f835cd5e433c2fe8841271593 /hw/i386/xen
parenthw: Do not include "sysemu/blockdev.h" if it is not necessary (diff)
downloadqemu-6dd046a3c4ecf9864653c00c83aba05d0539a372.tar.gz
qemu-6dd046a3c4ecf9864653c00c83aba05d0539a372.tar.xz
qemu-6dd046a3c4ecf9864653c00c83aba05d0539a372.zip
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>
Diffstat (limited to 'hw/i386/xen')
-rw-r--r--hw/i386/xen/xen-mapcache.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/i386/xen/xen-mapcache.c b/hw/i386/xen/xen-mapcache.c
index efa35dc6e0..541b7693b3 100644
--- a/hw/i386/xen/xen-mapcache.c
+++ b/hw/i386/xen/xen-mapcache.c
@@ -14,7 +14,6 @@
#include <sys/resource.h>
#include "hw/xen/xen_backend.h"
-#include "sysemu/blockdev.h"
#include "qemu/bitmap.h"
#include <xen/hvm/params.h>