From cc7a8ea740ec74a144e866a1d24aa6b490e31923 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Tue, 17 Mar 2015 17:22:46 +0100 Subject: Include qapi/qmp/qerror.h exactly where needed In particular, don't include it into headers. Signed-off-by: Markus Armbruster Reviewed-by: Stefan Hajnoczi Reviewed-by: Eric Blake Reviewed-by: Luiz Capitulino --- block/backup.c | 1 + block/commit.c | 1 + block/mirror.c | 1 + block/qcow.c | 1 + block/quorum.c | 1 + block/snapshot.c | 1 + block/stream.c | 1 + block/vmdk.c | 1 + 8 files changed, 8 insertions(+) (limited to 'block') diff --git a/block/backup.c b/block/backup.c index 35145cb..4a1af68 100644 --- a/block/backup.c +++ b/block/backup.c @@ -19,6 +19,7 @@ #include "block/block.h" #include "block/block_int.h" #include "block/blockjob.h" +#include "qapi/qmp/qerror.h" #include "qemu/ratelimit.h" #define BACKUP_CLUSTER_BITS 16 diff --git a/block/commit.c b/block/commit.c index 6c01fea..7312a5b 100644 --- a/block/commit.c +++ b/block/commit.c @@ -15,6 +15,7 @@ #include "trace.h" #include "block/block_int.h" #include "block/blockjob.h" +#include "qapi/qmp/qerror.h" #include "qemu/ratelimit.h" enum { diff --git a/block/mirror.c b/block/mirror.c index e3e51a2..048e452 100644 --- a/block/mirror.c +++ b/block/mirror.c @@ -14,6 +14,7 @@ #include "trace.h" #include "block/blockjob.h" #include "block/block_int.h" +#include "qapi/qmp/qerror.h" #include "qemu/ratelimit.h" #include "qemu/bitmap.h" diff --git a/block/qcow.c b/block/qcow.c index 54152f9..733627f 100644 --- a/block/qcow.c +++ b/block/qcow.c @@ -25,6 +25,7 @@ #include "block/block_int.h" #include "qemu/module.h" #include +#include "qapi/qmp/qerror.h" #include "qemu/aes.h" #include "migration/migration.h" diff --git a/block/quorum.c b/block/quorum.c index 9aceabd..a7df17c 100644 --- a/block/quorum.c +++ b/block/quorum.c @@ -18,6 +18,7 @@ #include "block/block_int.h" #include "qapi/qmp/qbool.h" #include "qapi/qmp/qdict.h" +#include "qapi/qmp/qerror.h" #include "qapi/qmp/qint.h" #include "qapi/qmp/qjson.h" #include "qapi/qmp/qlist.h" diff --git a/block/snapshot.c b/block/snapshot.c index 7cd960c..19395ae 100644 --- a/block/snapshot.c +++ b/block/snapshot.c @@ -24,6 +24,7 @@ #include "block/snapshot.h" #include "block/block_int.h" +#include "qapi/qmp/qerror.h" QemuOptsList internal_snapshot_opts = { .name = "snapshot", diff --git a/block/stream.c b/block/stream.c index f17efdb..ab0bd05 100644 --- a/block/stream.c +++ b/block/stream.c @@ -14,6 +14,7 @@ #include "trace.h" #include "block/block_int.h" #include "block/blockjob.h" +#include "qapi/qmp/qerror.h" #include "qemu/ratelimit.h" enum { diff --git a/block/vmdk.c b/block/vmdk.c index b7f3f21..fbaab67 100644 --- a/block/vmdk.c +++ b/block/vmdk.c @@ -25,6 +25,7 @@ #include "qemu-common.h" #include "block/block_int.h" +#include "qapi/qmp/qerror.h" #include "qemu/error-report.h" #include "qemu/module.h" #include "migration/migration.h" -- cgit v1.1