[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 15/53] hw: Do not include "sysemu/blockdev.h" if it i
From: |
Paolo Bonzini |
Subject: |
[Qemu-devel] [PULL 15/53] hw: Do not include "sysemu/blockdev.h" if it is not necessary |
Date: |
Thu, 31 May 2018 19:12:15 +0200 |
From: Philippe Mathieu-Daudé <address@hidden>
The header "hw/boards.h" already includes "sysemu/blockdev.h".
Code change produced with:
$ git grep '#include "sysemu/blockdev.h"' hw | \
cut -d: -f-1 | \
xargs fgrep -l '#include "hw/boards.h"' | \
xargs sed -i.bak '/#include "sysemu\/blockdev.h"/d'
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Acked-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
---
hw/arm/aspeed.c | 1 -
hw/arm/omap1.c | 1 -
hw/arm/omap2.c | 1 -
hw/mips/mips_malta.c | 1 -
hw/ppc/ppc405_boards.c | 1 -
hw/ppc/sam460ex.c | 1 -
6 files changed, 6 deletions(-)
diff --git a/hw/arm/aspeed.c b/hw/arm/aspeed.c
index aecb3c1e75..a7110a712f 100644
--- a/hw/arm/aspeed.c
+++ b/hw/arm/aspeed.c
@@ -19,7 +19,6 @@
#include "hw/boards.h"
#include "qemu/log.h"
#include "sysemu/block-backend.h"
-#include "sysemu/blockdev.h"
#include "hw/loader.h"
#include "qemu/error-report.h"
diff --git a/hw/arm/omap1.c b/hw/arm/omap1.c
index 854996c1ac..9af04728e3 100644
--- a/hw/arm/omap1.c
+++ b/hw/arm/omap1.c
@@ -28,7 +28,6 @@
#include "hw/arm/omap.h"
#include "sysemu/sysemu.h"
#include "hw/arm/soc_dma.h"
-#include "sysemu/blockdev.h"
#include "sysemu/qtest.h"
#include "qemu/range.h"
#include "hw/sysbus.h"
diff --git a/hw/arm/omap2.c b/hw/arm/omap2.c
index cc4250b7da..3c7d1364a9 100644
--- a/hw/arm/omap2.c
+++ b/hw/arm/omap2.c
@@ -23,7 +23,6 @@
#include "qapi/error.h"
#include "qemu-common.h"
#include "cpu.h"
-#include "sysemu/blockdev.h"
#include "sysemu/qtest.h"
#include "hw/boards.h"
#include "hw/hw.h"
diff --git a/hw/mips/mips_malta.c b/hw/mips/mips_malta.c
index af70ecffc0..494f84e290 100644
--- a/hw/mips/mips_malta.c
+++ b/hw/mips/mips_malta.c
@@ -46,7 +46,6 @@
#include "elf.h"
#include "hw/timer/mc146818rtc.h"
#include "hw/timer/i8254.h"
-#include "sysemu/blockdev.h"
#include "exec/address-spaces.h"
#include "hw/sysbus.h" /* SysBusDevice */
#include "qemu/host-utils.h"
diff --git a/hw/ppc/ppc405_boards.c b/hw/ppc/ppc405_boards.c
index 0b658931ee..d301067d3b 100644
--- a/hw/ppc/ppc405_boards.c
+++ b/hw/ppc/ppc405_boards.c
@@ -37,7 +37,6 @@
#include "qemu/log.h"
#include "qemu/error-report.h"
#include "hw/loader.h"
-#include "sysemu/blockdev.h"
#include "exec/address-spaces.h"
#define BIOS_FILENAME "ppc405_rom.bin"
diff --git a/hw/ppc/sam460ex.c b/hw/ppc/sam460ex.c
index a48e6e6fce..3dd23de71f 100644
--- a/hw/ppc/sam460ex.c
+++ b/hw/ppc/sam460ex.c
@@ -17,7 +17,6 @@
#include "qemu/error-report.h"
#include "qapi/error.h"
#include "hw/hw.h"
-#include "sysemu/blockdev.h"
#include "hw/boards.h"
#include "sysemu/kvm.h"
#include "kvm_ppc.h"
--
2.17.0
- [Qemu-devel] [PULL 03/53] accel: Do not include "exec/address-spaces.h" if it is not necessary, (continued)
- [Qemu-devel] [PULL 03/53] accel: Do not include "exec/address-spaces.h" if it is not necessary, Paolo Bonzini, 2018/05/31
- [Qemu-devel] [PULL 02/53] vfio: Include "exec/address-spaces.h" directly in the source file, Paolo Bonzini, 2018/05/31
- [Qemu-devel] [PULL 05/53] memory: Do not include "exec/ioport.h" if it is not necessary, Paolo Bonzini, 2018/05/31
- [Qemu-devel] [PULL 01/53] sandbox: disable -sandbox if CONFIG_SECCOMP undefined, Paolo Bonzini, 2018/05/31
- [Qemu-devel] [PULL 04/53] target: Do not include "exec/address-spaces.h" if it is not necessary, Paolo Bonzini, 2018/05/31
- [Qemu-devel] [PULL 06/53] target/i386: Do not include "exec/ioport.h" if it is not necessary, Paolo Bonzini, 2018/05/31
- [Qemu-devel] [PULL 07/53] target/xtensa: Include "qemu/timer.h" to use NANOSECONDS_PER_SECOND, Paolo Bonzini, 2018/05/31
- [Qemu-devel] [PULL 08/53] target/ppc: Include "exec/exec-all.h" which provides tlb_flush(), Paolo Bonzini, 2018/05/31
- [Qemu-devel] [PULL 09/53] target/hppa: Include "qemu/log.h" to use qemu_log(), Paolo Bonzini, 2018/05/31
- [Qemu-devel] [PULL 13/53] hw: Do not include "exec/address-spaces.h" if it is not necessary, Paolo Bonzini, 2018/05/31
- [Qemu-devel] [PULL 15/53] hw: Do not include "sysemu/blockdev.h" if it is not necessary,
Paolo Bonzini <=
- [Qemu-devel] [PULL 16/53] hw: Do not include "sysemu/blockdev.h" if it is not necessary, Paolo Bonzini, 2018/05/31
- [Qemu-devel] [PULL 11/53] nios2: do not include exec-all.h from cpu.h, Paolo Bonzini, 2018/05/31
- [Qemu-devel] [PULL 10/53] target: Do not include "exec/exec-all.h" if it is not necessary, Paolo Bonzini, 2018/05/31
- [Qemu-devel] [PULL 12/53] hw: Do not include "exec/ioport.h" if it is not necessary, Paolo Bonzini, 2018/05/31
- [Qemu-devel] [PULL 18/53] hw/misc/mips_itu: Cleanup includes, Paolo Bonzini, 2018/05/31
- [Qemu-devel] [PULL 19/53] hw/misc/sga: Use the correct ISA include, Paolo Bonzini, 2018/05/31
- [Qemu-devel] [PULL 17/53] hw/block/nvme: Include "qemu/cutils.h" directly in the source file, Paolo Bonzini, 2018/05/31
- [Qemu-devel] [PULL 14/53] hw: Do not include "sysemu/block-backend.h" if it is not necessary, Paolo Bonzini, 2018/05/31
- [Qemu-devel] [PULL 22/53] hw/ide: Remove unused include, Paolo Bonzini, 2018/05/31
- [Qemu-devel] [PULL 21/53] hw/i386/pc: Remove unused include, Paolo Bonzini, 2018/05/31