diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2020-03-16 11:09:57 +0000 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-03-17 15:18:45 +0100 |
commit | ac90871cf8030753a7bcef26fa1662c4e3c90078 (patch) | |
tree | a7d926092e7da574dfee46b04a30e4c7591ecfd6 /chardev | |
parent | 3284c3ddc48ba8fc853858c95d87dcc2ab160b29 (diff) |
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>
Diffstat (limited to 'chardev')
0 files changed, 0 insertions, 0 deletions