[PATCH 0/2] fix deadlock with plugins reset/uninstall

Pierrick Bouvier posted 2 patches 8 months, 2 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20250404032027.430575-1-pierrick.bouvier@linaro.org
Maintainers: "Alex Bennée" <alex.bennee@linaro.org>, Alexandre Iooss <erdnaxe@crans.org>, Mahmoud Mandour <ma.mandourr@gmail.com>, Pierrick Bouvier <pierrick.bouvier@linaro.org>
plugins/loader.c              |  2 +-
tests/tcg/plugins/reset.c     | 73 +++++++++++++++++++++++++++++++++++
tests/tcg/plugins/meson.build |  2 +-
3 files changed, 75 insertions(+), 2 deletions(-)
create mode 100644 tests/tcg/plugins/reset.c
[PATCH 0/2] fix deadlock with plugins reset/uninstall
Posted by Pierrick Bouvier 8 months, 2 weeks ago
We first fix the issue reported in [1].
We then add a test plugin making sure we don't regress in the future.

[1] https://gitlab.com/qemu-project/qemu/-/issues/2901

Pierrick Bouvier (2):
  plugins/loader: fix deadlock when resetting/uninstalling a plugin
  tests/tcg/plugins: add plugin to test reset and uninstall

 plugins/loader.c              |  2 +-
 tests/tcg/plugins/reset.c     | 73 +++++++++++++++++++++++++++++++++++
 tests/tcg/plugins/meson.build |  2 +-
 3 files changed, 75 insertions(+), 2 deletions(-)
 create mode 100644 tests/tcg/plugins/reset.c

-- 
2.39.5
Re: [PATCH 0/2] fix deadlock with plugins reset/uninstall
Posted by Alex Bennée 8 months, 2 weeks ago
Pierrick Bouvier <pierrick.bouvier@linaro.org> writes:

> We first fix the issue reported in [1].
> We then add a test plugin making sure we don't regress in the future.
>
> [1] https://gitlab.com/qemu-project/qemu/-/issues/2901

Queued to plugins/next, thanks.

>
> Pierrick Bouvier (2):
>   plugins/loader: fix deadlock when resetting/uninstalling a plugin
>   tests/tcg/plugins: add plugin to test reset and uninstall
>
>  plugins/loader.c              |  2 +-
>  tests/tcg/plugins/reset.c     | 73 +++++++++++++++++++++++++++++++++++
>  tests/tcg/plugins/meson.build |  2 +-
>  3 files changed, 75 insertions(+), 2 deletions(-)
>  create mode 100644 tests/tcg/plugins/reset.c

-- 
Alex Bennée
Virtualisation Tech Lead @ Linaro