606ad7fe | 04-Mar-2025 |
Alex Bennée <alex.bennee@linaro.org> |
plugins/core: make a single build unit
Trim through the includes and remove everything not needed for the core. Only include tcg-op-common.h to remove the need to TARGET_LONG_BITS and move the build
plugins/core: make a single build unit
Trim through the includes and remove everything not needed for the core. Only include tcg-op-common.h to remove the need to TARGET_LONG_BITS and move the build unit into the common set.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20250304222439.2035603-31-alex.bennee@linaro.org>
show more ...
|
40988ed9 | 04-Mar-2025 |
Alex Bennée <alex.bennee@linaro.org> |
plugins/api: build only once
Now all the softmmu/user-mode stuff has been split out we can build this compilation unit only once.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signe
plugins/api: build only once
Now all the softmmu/user-mode stuff has been split out we can build this compilation unit only once.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20250304222439.2035603-30-alex.bennee@linaro.org>
show more ...
|
1d3e745f | 04-Mar-2025 |
Alex Bennée <alex.bennee@linaro.org> |
plugins/api: split out time control helpers
These are only usable in system mode where we control the timer. For user-mode make them NOPs.
Reviewed-by: Richard Henderson <richard.henderson@linaro.o
plugins/api: split out time control helpers
These are only usable in system mode where we control the timer. For user-mode make them NOPs.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20250304222439.2035603-29-alex.bennee@linaro.org>
show more ...
|
455a2d26 | 04-Mar-2025 |
Alex Bennée <alex.bennee@linaro.org> |
plugins/api: split out the vaddr/hwaddr helpers
These only work for system-mode and are NOPs for user-mode.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Alex Bennée
plugins/api: split out the vaddr/hwaddr helpers
These only work for system-mode and are NOPs for user-mode.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20250304222439.2035603-28-alex.bennee@linaro.org>
show more ...
|
903e870f | 04-Mar-2025 |
Alex Bennée <alex.bennee@linaro.org> |
plugins/api: split out binary path/start/end/entry code
To move the main api.c to a single build compilation object we need to start splitting out user and system specific code. As we need to grob a
plugins/api: split out binary path/start/end/entry code
To move the main api.c to a single build compilation object we need to start splitting out user and system specific code. As we need to grob around host headers we move these particular helpers into the *-user mode directories.
The binary/start/end/entry helpers are all NOPs for system mode.
While using the plugin-api.c.inc trick means we build for both linux-user and bsd-user the BSD user-mode command line is still missing -plugin. This can be enabled once we have reliable check-tcg tests working for the BSDs.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Warner Losh <imp@bsdimp.com> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20250304222439.2035603-27-alex.bennee@linaro.org>
show more ...
|
8c15f6e4 | 04-Mar-2025 |
Alex Bennée <alex.bennee@linaro.org> |
plugins/loader: compile loader only once
There is very little in loader that is different between builds save for a tiny user/system mode difference in the plugin_info structure. Create two new file
plugins/loader: compile loader only once
There is very little in loader that is different between builds save for a tiny user/system mode difference in the plugin_info structure. Create two new files, user and system to hold mode specific helpers and move loader into common_ss.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20250304222439.2035603-26-alex.bennee@linaro.org>
show more ...
|
5dd09b81 | 04-Mar-2025 |
Alex Bennée <alex.bennee@linaro.org> |
plugins/plugin.h: include queue.h
Headers should bring in what they need so don't rely on getting queue.h by side effects. This will help with clean-ups in the following patches.
Reviewed-by: Richa
plugins/plugin.h: include queue.h
Headers should bring in what they need so don't rely on getting queue.h by side effects. This will help with clean-ups in the following patches.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20250304222439.2035603-25-alex.bennee@linaro.org>
show more ...
|
f85a28de | 04-Mar-2025 |
Alex Bennée <alex.bennee@linaro.org> |
plugins/api: clean-up the includes
Thanks to re-factoring and clean-up work (especially to exec-all) we no longer need such broad headers for the api.
Reviewed-by: Richard Henderson <richard.hender
plugins/api: clean-up the includes
Thanks to re-factoring and clean-up work (especially to exec-all) we no longer need such broad headers for the api.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20250304222439.2035603-24-alex.bennee@linaro.org>
show more ...
|
1d9a9743 | 04-Mar-2025 |
Alex Bennée <alex.bennee@linaro.org> |
plugins/loader: populate target_name with target_name()
We have a function we can call for this, lets not rely on macros that stop us building once.
Reviewed-by: Richard Henderson <richard.henderso
plugins/loader: populate target_name with target_name()
We have a function we can call for this, lets not rely on macros that stop us building once.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20250304222439.2035603-22-alex.bennee@linaro.org>
show more ...
|
8ac1719d | 21-Nov-2024 |
Pierrick Bouvier <pierrick.bouvier@linaro.org> |
plugins: eradicate qemu-plugins.symbols static file
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Message-Id: <20241112212622.3590693-4-pierrick.bouvier@linaro.org> Signed-off-by: Al
plugins: eradicate qemu-plugins.symbols static file
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Message-Id: <20241112212622.3590693-4-pierrick.bouvier@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20241121165806.476008-38-alex.bennee@linaro.org>
show more ...
|
9505f85e | 16-Sep-2024 |
Pierrick Bouvier <pierrick.bouvier@linaro.org> |
plugins: extend API to get latest memory value accessed
This value can be accessed only during a memory callback, using new qemu_plugin_mem_get_value function.
Returned value can be extended when Q
plugins: extend API to get latest memory value accessed
This value can be accessed only during a memory callback, using new qemu_plugin_mem_get_value function.
Returned value can be extended when QEMU will support accesses wider than 128 bits.
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1719 Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2152 Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Xingtao Yao <yaoxt.fnst@fujitsu.com> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Message-Id: <20240724194708.1843704-3-pierrick.bouvier@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20240916085400.1046925-6-alex.bennee@linaro.org>
show more ...
|