diff options
author | Markus Armbruster <armbru@redhat.com> | 2019-05-23 16:35:07 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2019-06-12 13:18:33 +0200 |
commit | 0b8fa32f551e863bb548a11394239239270dd3dc (patch) | |
tree | 5407f5eb794045d03eb5f817a4d2fc611524d057 /block | |
parent | 856dfd8a035e42cd96ca823f1cbbd18d332e2f84 (diff) |
Include qemu/module.h where needed, drop it from qemu-common.h
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20190523143508.25387-4-armbru@redhat.com>
[Rebased with conflicts resolved automatically, except for
hw/usb/dev-hub.c hw/misc/exynos4210_rng.c hw/misc/bcm2835_rng.c
hw/misc/aspeed_scu.c hw/display/virtio-vga.c hw/arm/stm32f205_soc.c;
ui/cocoa.m fixed up]
Diffstat (limited to 'block')
-rw-r--r-- | block/blklogwrites.c | 1 | ||||
-rw-r--r-- | block/blkreplay.c | 2 | ||||
-rw-r--r-- | block/blkverify.c | 1 | ||||
-rw-r--r-- | block/copy-on-read.c | 1 | ||||
-rw-r--r-- | block/crypto.c | 1 | ||||
-rw-r--r-- | block/curl.c | 1 | ||||
-rw-r--r-- | block/gluster.c | 1 | ||||
-rw-r--r-- | block/iscsi-opts.c | 2 | ||||
-rw-r--r-- | block/iscsi.c | 1 | ||||
-rw-r--r-- | block/nfs.c | 1 | ||||
-rw-r--r-- | block/null.c | 1 | ||||
-rw-r--r-- | block/nvme.c | 1 | ||||
-rw-r--r-- | block/qed.c | 1 | ||||
-rw-r--r-- | block/quorum.c | 1 | ||||
-rw-r--r-- | block/raw-format.c | 1 | ||||
-rw-r--r-- | block/rbd.c | 1 | ||||
-rw-r--r-- | block/replication.c | 1 | ||||
-rw-r--r-- | block/sheepdog.c | 1 | ||||
-rw-r--r-- | block/ssh.c | 1 | ||||
-rw-r--r-- | block/throttle.c | 1 | ||||
-rw-r--r-- | block/vhdx-log.c | 3 | ||||
-rw-r--r-- | block/vxhs.c | 1 | ||||
-rw-r--r-- | block/win32-aio.c | 3 |
23 files changed, 23 insertions, 6 deletions
diff --git a/block/blklogwrites.c b/block/blklogwrites.c index eb2b4901a5..04d8b33607 100644 --- a/block/blklogwrites.c +++ b/block/blklogwrites.c @@ -16,6 +16,7 @@ #include "qapi/qmp/qdict.h" #include "qapi/qmp/qstring.h" #include "qemu/cutils.h" +#include "qemu/module.h" #include "qemu/option.h" /* Disk format stuff - taken from Linux drivers/md/dm-log-writes.c */ diff --git a/block/blkreplay.c b/block/blkreplay.c index b5d9efdeca..2b7931b940 100644 --- a/block/blkreplay.c +++ b/block/blkreplay.c @@ -10,7 +10,7 @@ */ #include "qemu/osdep.h" -#include "qemu-common.h" +#include "qemu/module.h" #include "block/block_int.h" #include "sysemu/replay.h" #include "qapi/error.h" diff --git a/block/blkverify.c b/block/blkverify.c index 3ff77ff49a..304b0a1368 100644 --- a/block/blkverify.c +++ b/block/blkverify.c @@ -14,6 +14,7 @@ #include "qapi/qmp/qdict.h" #include "qapi/qmp/qstring.h" #include "qemu/cutils.h" +#include "qemu/module.h" #include "qemu/option.h" typedef struct { diff --git a/block/copy-on-read.c b/block/copy-on-read.c index 53972b1da3..22f24fd0db 100644 --- a/block/copy-on-read.c +++ b/block/copy-on-read.c @@ -22,6 +22,7 @@ #include "qemu/osdep.h" #include "block/block_int.h" +#include "qemu/module.h" static int cor_open(BlockDriverState *bs, QDict *options, int flags, diff --git a/block/crypto.c b/block/crypto.c index 7351fd479d..8237424ae6 100644 --- a/block/crypto.c +++ b/block/crypto.c @@ -28,6 +28,7 @@ #include "qapi/qapi-visit-crypto.h" #include "qapi/qobject-input-visitor.h" #include "qapi/error.h" +#include "qemu/module.h" #include "qemu/option.h" #include "crypto.h" diff --git a/block/curl.c b/block/curl.c index 606709fea4..d4c8e94f3e 100644 --- a/block/curl.c +++ b/block/curl.c @@ -25,6 +25,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "qemu/option.h" #include "block/block_int.h" #include "qapi/qmp/qdict.h" diff --git a/block/gluster.c b/block/gluster.c index e664ca4462..dc16f0c329 100644 --- a/block/gluster.c +++ b/block/gluster.c @@ -18,6 +18,7 @@ #include "qapi/qmp/qerror.h" #include "qemu/uri.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "qemu/option.h" #include "qemu/cutils.h" diff --git a/block/iscsi-opts.c b/block/iscsi-opts.c index 9b19bd2f52..afaf8837d6 100644 --- a/block/iscsi-opts.c +++ b/block/iscsi-opts.c @@ -23,8 +23,8 @@ */ #include "qemu/osdep.h" -#include "qemu-common.h" #include "qemu/config-file.h" +#include "qemu/module.h" #include "qemu/option.h" static QemuOptsList qemu_iscsi_opts = { diff --git a/block/iscsi.c b/block/iscsi.c index f31c612d53..cf9d66c07f 100644 --- a/block/iscsi.c +++ b/block/iscsi.c @@ -36,6 +36,7 @@ #include "block/qdict.h" #include "scsi/constants.h" #include "qemu/iov.h" +#include "qemu/module.h" #include "qemu/option.h" #include "qemu/uuid.h" #include "qapi/error.h" diff --git a/block/nfs.c b/block/nfs.c index 531903610b..d93241b3bb 100644 --- a/block/nfs.c +++ b/block/nfs.c @@ -32,6 +32,7 @@ #include "block/qdict.h" #include "trace.h" #include "qemu/iov.h" +#include "qemu/module.h" #include "qemu/option.h" #include "qemu/uri.h" #include "qemu/cutils.h" diff --git a/block/null.c b/block/null.c index a322929478..699aa295cb 100644 --- a/block/null.c +++ b/block/null.c @@ -14,6 +14,7 @@ #include "qapi/error.h" #include "qapi/qmp/qdict.h" #include "qapi/qmp/qstring.h" +#include "qemu/module.h" #include "qemu/option.h" #include "block/block_int.h" diff --git a/block/nvme.c b/block/nvme.c index 0684bbd077..73ed5fa75f 100644 --- a/block/nvme.c +++ b/block/nvme.c @@ -17,6 +17,7 @@ #include "qapi/qmp/qdict.h" #include "qapi/qmp/qstring.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "qemu/cutils.h" #include "qemu/option.h" #include "qemu/vfio-helpers.h" diff --git a/block/qed.c b/block/qed.c index bb4f5c9863..77c7cef175 100644 --- a/block/qed.c +++ b/block/qed.c @@ -17,6 +17,7 @@ #include "qapi/error.h" #include "qemu/timer.h" #include "qemu/bswap.h" +#include "qemu/module.h" #include "qemu/option.h" #include "trace.h" #include "qed.h" diff --git a/block/quorum.c b/block/quorum.c index 133ee18204..df68adcfaa 100644 --- a/block/quorum.c +++ b/block/quorum.c @@ -15,6 +15,7 @@ #include "qemu/osdep.h" #include "qemu/cutils.h" +#include "qemu/module.h" #include "qemu/option.h" #include "block/block_int.h" #include "block/qdict.h" diff --git a/block/raw-format.c b/block/raw-format.c index 385cdc2490..bffd424dd0 100644 --- a/block/raw-format.c +++ b/block/raw-format.c @@ -29,6 +29,7 @@ #include "qemu/osdep.h" #include "block/block_int.h" #include "qapi/error.h" +#include "qemu/module.h" #include "qemu/option.h" typedef struct BDRVRawState { diff --git a/block/rbd.c b/block/rbd.c index 0c549c9935..f2ac2c06f4 100644 --- a/block/rbd.c +++ b/block/rbd.c @@ -16,6 +16,7 @@ #include <rbd/librbd.h> #include "qapi/error.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "qemu/option.h" #include "block/block_int.h" #include "block/qdict.h" diff --git a/block/replication.c b/block/replication.c index 3d4dedddfc..5cffb790b3 100644 --- a/block/replication.c +++ b/block/replication.c @@ -13,6 +13,7 @@ */ #include "qemu/osdep.h" +#include "qemu/module.h" #include "qemu/option.h" #include "block/nbd.h" #include "block/blockjob.h" diff --git a/block/sheepdog.c b/block/sheepdog.c index f76d6ddbbc..1e2d824a58 100644 --- a/block/sheepdog.c +++ b/block/sheepdog.c @@ -21,6 +21,7 @@ #include "qapi/qobject-output-visitor.h" #include "qemu/uri.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "qemu/option.h" #include "qemu/sockets.h" #include "block/block_int.h" diff --git a/block/ssh.c b/block/ssh.c index 584c302fe6..6da7b9cbfe 100644 --- a/block/ssh.c +++ b/block/ssh.c @@ -31,6 +31,7 @@ #include "block/qdict.h" #include "qapi/error.h" #include "qemu/error-report.h" +#include "qemu/module.h" #include "qemu/option.h" #include "qemu/ctype.h" #include "qemu/cutils.h" diff --git a/block/throttle.c b/block/throttle.c index f64dcc27b9..0349f42257 100644 --- a/block/throttle.c +++ b/block/throttle.c @@ -19,6 +19,7 @@ #include "qemu/osdep.h" #include "block/throttle-groups.h" +#include "qemu/module.h" #include "qemu/option.h" #include "qemu/throttle-options.h" #include "qapi/error.h" diff --git a/block/vhdx-log.c b/block/vhdx-log.c index 5e946846f1..fdd3a7adc3 100644 --- a/block/vhdx-log.c +++ b/block/vhdx-log.c @@ -17,12 +17,11 @@ * See the COPYING.LIB file in the top-level directory. * */ + #include "qemu/osdep.h" #include "qapi/error.h" -#include "qemu-common.h" #include "block/block_int.h" #include "qemu/error-report.h" -#include "qemu/module.h" #include "qemu/bswap.h" #include "vhdx.h" diff --git a/block/vxhs.c b/block/vxhs.c index 2e18229ba4..77fd5eb20d 100644 --- a/block/vxhs.c +++ b/block/vxhs.c @@ -17,6 +17,7 @@ #include "qapi/qmp/qdict.h" #include "qapi/qmp/qstring.h" #include "trace.h" +#include "qemu/module.h" #include "qemu/uri.h" #include "qapi/error.h" #include "qemu/uuid.h" diff --git a/block/win32-aio.c b/block/win32-aio.c index 9cd355d42f..b7221a272f 100644 --- a/block/win32-aio.c +++ b/block/win32-aio.c @@ -21,11 +21,10 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include "qemu/osdep.h" -#include "qemu-common.h" #include "qemu/timer.h" #include "block/block_int.h" -#include "qemu/module.h" #include "block/aio.h" #include "block/raw-aio.h" #include "qemu/event_notifier.h" |