diff options
author | Philippe Mathieu-Daudé | 2021-05-24 19:04:52 +0200 |
---|---|---|
committer | Richard Henderson | 2021-05-27 00:31:45 +0200 |
commit | 824f4bac9ffa2757293290c7edd065dc84a6521e (patch) | |
tree | 9492443da7cff04ea463e458dd8db77121d64461 /plugins | |
parent | exec/memory: Use correct type size (diff) | |
download | qemu-824f4bac9ffa2757293290c7edd065dc84a6521e.tar.gz qemu-824f4bac9ffa2757293290c7edd065dc84a6521e.tar.xz qemu-824f4bac9ffa2757293290c7edd065dc84a6521e.zip |
accel/tcg: Reduce 'exec/tb-context.h' inclusion
Only 2 headers require "exec/tb-context.h". Instead of having
all files including "exec/exec-all.h" also including it, directly
include it where it is required:
- accel/tcg/cpu-exec.c
- accel/tcg/translate-all.c
For plugins/plugin.h, we were implicitly relying on
exec/exec-all.h -> exec/tb-context.h -> qemu/qht.h
which is now included directly.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210524170453.3791436-2-f4bug@amsat.org>
[rth: Fix plugins/plugin.h compilation]
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/plugin.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/plugin.h b/plugins/plugin.h index 1aa29dcadd..55017e3581 100644 --- a/plugins/plugin.h +++ b/plugins/plugin.h @@ -13,6 +13,7 @@ #define _PLUGIN_INTERNAL_H_ #include <gmodule.h> +#include "qemu/qht.h" #define QEMU_PLUGIN_MIN_VERSION 0 |