qemu-e2k/plugins
Mahmoud Mandour 3a445acb49 plugins: allow plugin arguments to be passed directly
Passing arguments to plugins had to be done through "arg=<argname>".
This is redundant and introduces confusion especially when the argument
has a name and value (e.g. `-plugin plugin_name,arg="argname=argvalue"`).

This allows passing plugin arguments directly e.g:

    `-plugin plugin_name,argname=argvalue`

For now, passing arguments through "arg=" is still supports but outputs
a deprecation warning.

Also, this commit makes boolean arguments passed to plugins in the
`argname=on|off` form instead of the deprecated short-boolean form.

Signed-off-by: Mahmoud Mandour <ma.mandourr@gmail.com>
Tested-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210730135817.17816-2-ma.mandourr@gmail.com>
2021-09-02 11:29:34 +01:00
..
api.c plugins: Fix physical address calculation for IO regions 2021-07-23 17:22:16 +01:00
core.c tcg/plugins: implement a qemu_plugin_user_exit helper 2021-07-23 17:22:16 +01:00
loader.c plugins: allow plugin arguments to be passed directly 2021-09-02 11:29:34 +01:00
meson.build plugins: do not limit exported symbols if modules are active 2021-09-02 11:29:34 +01:00
plugin.h Remove leading underscores from QEMU defines 2021-06-21 05:49:01 +02:00
qemu-plugins.symbols plugins: sort exported symbol list 2021-09-02 11:29:34 +01:00