diff options
author | Markus Armbruster <armbru@redhat.com> | 2019-05-23 16:35:08 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2019-06-12 13:20:20 +0200 |
commit | a8d2532645cf5ce4f75981f81dfe363efc35d05c (patch) | |
tree | 9572944040e99117f69f46d6e99488e8073f65c3 /block | |
parent | 0b8fa32f551e863bb548a11394239239270dd3dc (diff) | |
download | qemu-a8d2532645cf5ce4f75981f81dfe363efc35d05c.zip qemu-a8d2532645cf5ce4f75981f81dfe363efc35d05c.tar.gz qemu-a8d2532645cf5ce4f75981f81dfe363efc35d05c.tar.bz2 |
Include qemu-common.h exactly where needed
No header includes qemu-common.h after this commit, as prescribed by
qemu-common.h's file comment.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20190523143508.25387-5-armbru@redhat.com>
[Rebased with conflicts resolved automatically, except for
include/hw/arm/xlnx-zynqmp.h hw/arm/nrf51_soc.c hw/arm/msf2-soc.c
block/qcow2-refcount.c block/qcow2-cluster.c block/qcow2-cache.c
target/arm/cpu.h target/lm32/cpu.h target/m68k/cpu.h target/mips/cpu.h
target/moxie/cpu.h target/nios2/cpu.h target/openrisc/cpu.h
target/riscv/cpu.h target/tilegx/cpu.h target/tricore/cpu.h
target/unicore32/cpu.h target/xtensa/cpu.h; bsd-user/main.c and
net/tap-bsd.c fixed up]
Diffstat (limited to 'block')
-rw-r--r-- | block/bochs.c | 1 | ||||
-rw-r--r-- | block/cloop.c | 1 | ||||
-rw-r--r-- | block/dirty-bitmap.c | 1 | ||||
-rw-r--r-- | block/dmg-bz2.c | 1 | ||||
-rw-r--r-- | block/dmg.c | 1 | ||||
-rw-r--r-- | block/dmg.h | 1 | ||||
-rw-r--r-- | block/file-posix.c | 1 | ||||
-rw-r--r-- | block/iscsi.c | 1 | ||||
-rw-r--r-- | block/linux-aio.c | 1 | ||||
-rw-r--r-- | block/nbd-client.h | 1 | ||||
-rw-r--r-- | block/qapi.c | 1 | ||||
-rw-r--r-- | block/qcow2-cache.c | 1 | ||||
-rw-r--r-- | block/qcow2-cluster.c | 1 | ||||
-rw-r--r-- | block/qcow2-refcount.c | 1 | ||||
-rw-r--r-- | block/sheepdog.c | 1 | ||||
-rw-r--r-- | block/vhdx-endian.c | 1 |
16 files changed, 4 insertions, 12 deletions
diff --git a/block/bochs.c b/block/bochs.c index 79f95d3..962f185 100644 --- a/block/bochs.c +++ b/block/bochs.c @@ -24,7 +24,6 @@ */ #include "qemu/osdep.h" #include "qapi/error.h" -#include "qemu-common.h" #include "block/block_int.h" #include "qemu/module.h" #include "qemu/bswap.h" diff --git a/block/cloop.c b/block/cloop.c index df2b85f..384c973 100644 --- a/block/cloop.c +++ b/block/cloop.c @@ -24,7 +24,6 @@ #include "qemu/osdep.h" #include "qapi/error.h" #include "qemu/error-report.h" -#include "qemu-common.h" #include "block/block_int.h" #include "qemu/module.h" #include "qemu/bswap.h" diff --git a/block/dirty-bitmap.c b/block/dirty-bitmap.c index 49646a3..95a9c2a 100644 --- a/block/dirty-bitmap.c +++ b/block/dirty-bitmap.c @@ -23,7 +23,6 @@ */ #include "qemu/osdep.h" #include "qapi/error.h" -#include "qemu-common.h" #include "trace.h" #include "block/block_int.h" #include "block/blockjob.h" diff --git a/block/dmg-bz2.c b/block/dmg-bz2.c index 9059492..37f7ee0 100644 --- a/block/dmg-bz2.c +++ b/block/dmg-bz2.c @@ -23,7 +23,6 @@ * THE SOFTWARE. */ #include "qemu/osdep.h" -#include "qemu-common.h" #include "dmg.h" #include <bzlib.h> diff --git a/block/dmg.c b/block/dmg.c index 43497bf..45f6b28 100644 --- a/block/dmg.c +++ b/block/dmg.c @@ -23,7 +23,6 @@ */ #include "qemu/osdep.h" #include "qapi/error.h" -#include "qemu-common.h" #include "block/block_int.h" #include "qemu/bswap.h" #include "qemu/error-report.h" diff --git a/block/dmg.h b/block/dmg.h index f289299..e488601 100644 --- a/block/dmg.h +++ b/block/dmg.h @@ -26,7 +26,6 @@ #ifndef BLOCK_DMG_H #define BLOCK_DMG_H -#include "qemu-common.h" #include "block/block_int.h" #include <zlib.h> diff --git a/block/file-posix.c b/block/file-posix.c index d018429..6e6bf3f 100644 --- a/block/file-posix.c +++ b/block/file-posix.c @@ -23,6 +23,7 @@ */ #include "qemu/osdep.h" +#include "qemu-common.h" #include "qapi/error.h" #include "qemu/cutils.h" #include "qemu/error-report.h" diff --git a/block/iscsi.c b/block/iscsi.c index cf9d66c..267f160 100644 --- a/block/iscsi.c +++ b/block/iscsi.c @@ -28,6 +28,7 @@ #include <poll.h> #include <math.h> #include <arpa/inet.h> +#include "qemu-common.h" #include "qemu/config-file.h" #include "qemu/error-report.h" #include "qemu/bitops.h" diff --git a/block/linux-aio.c b/block/linux-aio.c index 27100c2..c7eca9a 100644 --- a/block/linux-aio.c +++ b/block/linux-aio.c @@ -8,7 +8,6 @@ * See the COPYING file in the top-level directory. */ #include "qemu/osdep.h" -#include "qemu-common.h" #include "block/aio.h" #include "qemu/queue.h" #include "block/block.h" diff --git a/block/nbd-client.h b/block/nbd-client.h index 09e0301..4587053 100644 --- a/block/nbd-client.h +++ b/block/nbd-client.h @@ -1,7 +1,6 @@ #ifndef NBD_CLIENT_H #define NBD_CLIENT_H -#include "qemu-common.h" #include "block/nbd.h" #include "block/block_int.h" #include "io/channel-socket.h" diff --git a/block/qapi.c b/block/qapi.c index 0c13c86..917435f 100644 --- a/block/qapi.c +++ b/block/qapi.c @@ -23,6 +23,7 @@ */ #include "qemu/osdep.h" +#include "qemu-common.h" #include "block/qapi.h" #include "block/block_int.h" #include "block/throttle-groups.h" diff --git a/block/qcow2-cache.c b/block/qcow2-cache.c index b33bcbc..d29b038 100644 --- a/block/qcow2-cache.c +++ b/block/qcow2-cache.c @@ -23,7 +23,6 @@ */ #include "qemu/osdep.h" -#include "qemu-common.h" #include "qcow2.h" #include "trace.h" diff --git a/block/qcow2-cluster.c b/block/qcow2-cluster.c index cf892f3..cc5609e 100644 --- a/block/qcow2-cluster.c +++ b/block/qcow2-cluster.c @@ -26,7 +26,6 @@ #include <zlib.h> #include "qapi/error.h" -#include "qemu-common.h" #include "qcow2.h" #include "qemu/bswap.h" #include "trace.h" diff --git a/block/qcow2-refcount.c b/block/qcow2-refcount.c index 22cadd7..ef965d7 100644 --- a/block/qcow2-refcount.c +++ b/block/qcow2-refcount.c @@ -24,7 +24,6 @@ #include "qemu/osdep.h" #include "qapi/error.h" -#include "qemu-common.h" #include "qcow2.h" #include "qemu/range.h" #include "qemu/bswap.h" diff --git a/block/sheepdog.c b/block/sheepdog.c index 1e2d824..6f402e5 100644 --- a/block/sheepdog.c +++ b/block/sheepdog.c @@ -13,6 +13,7 @@ */ #include "qemu/osdep.h" +#include "qemu-common.h" #include "qapi/error.h" #include "qapi/qapi-visit-sockets.h" #include "qapi/qapi-visit-block-core.h" diff --git a/block/vhdx-endian.c b/block/vhdx-endian.c index ebfa33c..52c8027 100644 --- a/block/vhdx-endian.c +++ b/block/vhdx-endian.c @@ -16,7 +16,6 @@ */ #include "qemu/osdep.h" -#include "qemu-common.h" #include "block/block_int.h" #include "qemu/bswap.h" #include "vhdx.h" |