qemu/plugins
Stefan Hajnoczi ac90871cf8 lockable: add QemuRecMutex support
The polymorphic locking macros don't support QemuRecMutex yet.  Add it
so that lock guards can be used with QemuRecMutex.

Convert TCG plugins functions that benefit from these macros.  Manual
qemu_rec_mutex_lock/unlock() callers are left unmodified in cases where
clarity would not improve by switching to the macros.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-03-17 15:18:45 +01:00
..
.gitignore plugin: add API symbols to qemu-plugins.symbols 2019-10-28 15:12:38 +00:00
Makefile.objs plugin: add API symbols to qemu-plugins.symbols 2019-10-28 15:12:38 +00:00
api.c plugins: Include trace/mem.h in api.c 2020-01-15 15:13:09 -10:00
core.c lockable: add QemuRecMutex support 2020-03-17 15:18:45 +01:00
loader.c lockable: add QemuRecMutex support 2020-03-17 15:18:45 +01:00
plugin.h tcg plugins: expose an API version concept 2019-11-12 14:32:55 +00:00
qemu-plugins.symbols plugin: add qemu_plugin_outs helper 2019-10-28 15:12:38 +00:00