Re: [PATCH 2/3] plugins: Avoid deadlock in qemu_plugin_user_exit

2023-01-20 Thread Alex Bennée
Richard Henderson writes: > Use of start_exclusive on this exit path leads to deadlock, > in particular when called from dump_core_and_abort. There > does not appear to be a need for it. We don't want to be doing any translation while un-registering things lest things get confused. You could

[PATCH 2/3] plugins: Avoid deadlock in qemu_plugin_user_exit

2023-01-16 Thread Richard Henderson
Use of start_exclusive on this exit path leads to deadlock, in particular when called from dump_core_and_abort. There does not appear to be a need for it. While we're at it, skip the entire function if no plugins. Signed-off-by: Richard Henderson --- plugins/core.c | 6 +++--- 1 file changed,