Re: [RFC 3/4] tcg/plugins: Support for inter-plugin interactions

2022-09-26 Thread Andrew S. Fasano
> Andrew Fasano writes: > > > Expand tcg-plugin system to allow for plugins to export functions > > and callbacks that can be used by other plugins. Exported functions > > can be called at runtime by other loaded plugins. Loaded plugins > > can register functions with exported callbacks and have

Re: [RFC 4/4] tcg/plugins: Add example pair of QPP plugins

2022-09-26 Thread Andrew S. Fasano
From: Alex Bennée > Andrew Fasano writes: > > > The first plugin, qpp_srv exposes two functions and one callback that other > > plugins can leverage. These functions are described in the corresponding > > header file. > > > > The second plugin, qpp_client, imports this header file, registers its

Re: [RFC 4/4] tcg/plugins: Add example pair of QPP plugins

2022-09-26 Thread Andrew S. Fasano
From: Alex Bennée > Andrew Fasano writes: > > > The first plugin, qpp_srv exposes two functions and one callback that other > > plugins can leverage. These functions are described in the corresponding > > header file. > > > > The second plugin, qpp_client, imports this header file, registers its

Re: [RFC 2/4] tcg/plugins: Automatically define CURRENT_PLUGIN

2022-09-26 Thread Andrew S. Fasano
From: Alex Bennée > Andrew Fasano writes: > > > Use plugin filenames to set the preprocessor variable CURRENT_PLUGIN > > as a string during plugin compilation. > > > > Signed-off-by: Andrew Fasano > > --- > > contrib/plugins/Makefile | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) >

Re: [RFC 0/4] Support interactions between TCG plugins

2022-09-26 Thread Andrew S. Fasano
From: Alex Bennée > Andrew Fasano writes: > > > Hello, > > > > I'm requesting comments on the following series of patches expanding the > > TCG plugin system to add the "QEMU Plugin-to-Plugin (QPP)" interface > > that allows for interactions between TCG plugins. The goal of this > > interface is