qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/3] plugins: generate list of symbols automatically
@ 2024-11-06 17:09 Pierrick Bouvier
  2024-11-06 17:09 ` [PATCH v3 1/3] plugins: add missing export for qemu_plugin_num_vcpus Pierrick Bouvier
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Pierrick Bouvier @ 2024-11-06 17:09 UTC (permalink / raw)
  To: qemu-devel
  Cc: Pierrick Bouvier, Alexandre Iooss, Alex Bennée, Cleber Rosa,
	Mahmoud Mandour, John Snow

Now that meson build for plugins was merged, we can cleanup another part with
the symbols file.
It has to be kept in sync between the header (qemu-plugin.h) and the symbols
file. This has proved to be error prone and tedious.

We solve this by generating this list from header directly using a python
script. Dependencies are triggered correctly, and the file is regenerated if the
header is modified, as expected.

Pierrick Bouvier (3):
  plugins: add missing export for qemu_plugin_num_vcpus
  plugins: detect qemu plugin API symbols from header
  plugins: eradicate qemu-plugins.symbols static file

 MAINTAINERS                    |  1 +
 include/qemu/qemu-plugin.h     |  1 +
 plugins/meson.build            | 12 +++++--
 plugins/qemu-plugins.symbols   | 59 ----------------------------------
 scripts/qemu-plugin-symbols.py | 45 ++++++++++++++++++++++++++
 5 files changed, 56 insertions(+), 62 deletions(-)
 delete mode 100644 plugins/qemu-plugins.symbols
 create mode 100755 scripts/qemu-plugin-symbols.py

-- 
2.39.5



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-11-12 21:27 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-06 17:09 [PATCH v3 0/3] plugins: generate list of symbols automatically Pierrick Bouvier
2024-11-06 17:09 ` [PATCH v3 1/3] plugins: add missing export for qemu_plugin_num_vcpus Pierrick Bouvier
2024-11-06 17:37   ` Pierrick Bouvier
2024-11-06 17:09 ` [PATCH v3 2/3] plugins: detect qemu plugin API symbols from header Pierrick Bouvier
2024-11-06 17:09 ` [PATCH v3 3/3] plugins: eradicate qemu-plugins.symbols static file Pierrick Bouvier
2024-11-12 21:08 ` [PATCH v3 0/3] plugins: generate list of symbols automatically Alex Bennée
2024-11-12 21:27   ` Pierrick Bouvier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).