diff options
| author | Markus Armbruster | 2016-03-09 10:52:44 +0100 |
|---|---|---|
| committer | Paolo Bonzini | 2016-03-22 22:20:16 +0100 |
| commit | daf015ef5ab7b67f4676fcbe74c57b1709f6cb70 (patch) | |
| tree | 29e82f17646fa74b6810d585bb742812059a7014 /include/block | |
| parent | fw_cfg: Split fw_cfg_keys.h off fw_cfg.h (diff) | |
| download | qemu-daf015ef5ab7b67f4676fcbe74c57b1709f6cb70.tar.gz qemu-daf015ef5ab7b67f4676fcbe74c57b1709f6cb70.tar.xz qemu-daf015ef5ab7b67f4676fcbe74c57b1709f6cb70.zip | |
include/qemu/iov.h: Don't include qemu-common.h
qemu-common.h should only be included by .c files. Its file comment
explains why: "No header file should depend on qemu-common.h, as this
would easily lead to circular header dependencies."
qemu/iov.h includes qemu-common.h for QEMUIOVector stuff. Move all
that to qemu/iov.h and drop the ill-advised include. Include
qemu/iov.h where the QEMUIOVector stuff is now missing.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/block')
| -rw-r--r-- | include/block/block.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/block/block.h b/include/block/block.h index 01349efad5..47e80bc204 100644 --- a/include/block/block.h +++ b/include/block/block.h @@ -2,7 +2,7 @@ #define BLOCK_H #include "block/aio.h" -#include "qemu-common.h" +#include "qemu/iov.h" #include "qemu/option.h" #include "qemu/coroutine.h" #include "block/accounting.h" |
