diff options
| author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-07-08 14:09:29 +0200 |
|---|---|---|
| committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-07-15 19:34:33 +0200 |
| commit | 2320453031f87e4245a5625f3714d444e987ea0c (patch) | |
| tree | 68c22c202aa653446875dcf1c1503b8fa5413d79 /accel/tcg/monitor.c | |
| parent | c10eb740108c24c65f049e5ae85ed10b2779e75d (diff) | |
| download | focaccia-qemu-2320453031f87e4245a5625f3714d444e987ea0c.tar.gz focaccia-qemu-2320453031f87e4245a5625f3714d444e987ea0c.zip | |
accel/tcg: Propagate AccelState to dump_accel_info()
Declare tcg_dump_stats() in "tcg/tcg.h" so it can be used out of
accel/tcg/, like by {bsd,linux}-user.
Next commit will register the TCG AccelClass::get_stats handler,
which expects a AccelState, so propagate it to dump_accel_info().
Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20250715140048.84942-6-philmd@linaro.org>
Diffstat (limited to 'accel/tcg/monitor.c')
| -rw-r--r-- | accel/tcg/monitor.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/accel/tcg/monitor.c b/accel/tcg/monitor.c index adb9de5a1c..be5c195017 100644 --- a/accel/tcg/monitor.c +++ b/accel/tcg/monitor.c @@ -12,6 +12,7 @@ #include "qapi/qapi-commands-machine.h" #include "monitor/monitor.h" #include "system/tcg.h" +#include "tcg/tcg.h" #include "internal-common.h" HumanReadableText *qmp_x_query_jit(Error **errp) |