include/qemu/iov.h: Don't include qemu-common.h
commitdaf015ef5ab7b67f4676fcbe74c57b1709f6cb70
authorMarkus Armbruster <armbru@redhat.com>
Wed, 9 Mar 2016 09:52:44 +0000 (9 10:52 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 22 Mar 2016 21:20:16 +0000 (22 22:20 +0100)
tree29e82f17646fa74b6810d585bb742812059a7014
parent6f061ea10f28c6cbe3ea588e84ef1f5fd27f0299
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>
block/raw-aio.h
include/block/block.h
include/hw/ppc/mac_dbdma.h
include/hw/usb.h
include/qemu-common.h
include/qemu/iov.h
include/sysemu/block-backend.h
util/iov.c