summary refs log tree commit diff stats
path: root/common-user/plugin-api.c.inc
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2025-07-10 11:45:28 +0100
committerAlex Bennée <alex.bennee@linaro.org>2025-07-14 11:42:49 +0100
commitdcc83c3e41a89a1426fb56106c882479185f6383 (patch)
tree80707e06aa4888486c84af6f8e68ed6d33641a27 /common-user/plugin-api.c.inc
parent5a28fa5ba17254d0398a854657b47af3096bd86a (diff)
downloadfocaccia-qemu-dcc83c3e41a89a1426fb56106c882479185f6383.tar.gz
focaccia-qemu-dcc83c3e41a89a1426fb56106c882479185f6383.zip
plugins: fix inclusion of user-mode APIs
In 903e870f24 (plugins/api: split out binary path/start/end/entry
code) we didn't actually enable the building of the new plugin helper.
However this was missed because only contrib plugins like drcov
actually used the helpers.

With that fixed we discover we also need some more includes to be able
to extract the relevant data from TaskState.

Fixes: 903e870f24 (plugins/api: split out binary path/start/end/entry code)
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/3014
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-ID: <20250710104531.3099313-6-alex.bennee@linaro.org>
Diffstat (limited to 'common-user/plugin-api.c.inc')
-rw-r--r--common-user/plugin-api.c.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/common-user/plugin-api.c.inc b/common-user/plugin-api.c.inc
index 5b8a1396b6..63f3983271 100644
--- a/common-user/plugin-api.c.inc
+++ b/common-user/plugin-api.c.inc
@@ -13,6 +13,7 @@
 #include "qemu/osdep.h"
 #include "qemu/main-loop.h"
 #include "qemu/plugin.h"
+#include "accel/tcg/vcpu-state.h"
 #include "qemu.h"
 
 /*