xemu/include
Peter Maydell fba0a593b2 Stop including qemu-common.h in memory.h
Including qemu-common.h from other header files is generally a bad
idea, because it means it's very easy to end up with a circular
dependency. For instance, if we wanted to include memory.h from
qom/cpu.h we'd end up with this loop:
 memory.h -> qemu-common.h -> cpu.h -> cpu-qom.h -> qom/cpu.h -> memory.h

Remove the include from memory.h. This requires us to fix up a few
other files which were inadvertently getting declarations indirectly
through memory.h.

The biggest change is splitting the fprintf_function typedef out
into its own header so other headers can get at it without having
to include qemu-common.h.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <1435933104-15216-1-git-send-email-peter.maydell@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2015-07-06 14:59:09 +02:00
..
block Include monitor/monitor.h exactly where needed 2015-06-22 18:20:41 +02:00
disas disas: Remove uses of CPU env 2015-06-22 17:40:01 +02:00
exec Stop including qemu-common.h in memory.h 2015-07-06 14:59:09 +02:00
fpu
hw Stop including qemu-common.h in memory.h 2015-07-06 14:59:09 +02:00
libdecnumber
migration
monitor Include monitor/monitor.h exactly where needed 2015-06-22 18:20:41 +02:00
net qmp: Wean off qerror_report() 2015-06-22 18:20:40 +02:00
qapi qerror: Move #include out of qerror.h 2015-06-22 18:20:40 +02:00
qemu Stop including qemu-common.h in memory.h 2015-07-06 14:59:09 +02:00
qom qom: Don't pass string table to object_get_enum() function 2015-06-19 18:42:48 +02:00
standard-headers
sysemu block-backend: Introduce blk_drain() 2015-06-23 15:06:16 +01:00
ui Include monitor/monitor.h exactly where needed 2015-06-22 18:20:41 +02:00
config.h
elf.h
glib-compat.h
qemu-common.h Stop including qemu-common.h in memory.h 2015-07-06 14:59:09 +02:00
qemu-io.h
qjson.h
trace-tcg.h
trace.h