diff options
| author | Philippe Mathieu-Daudé <philmd@redhat.com> | 2021-05-12 09:07:13 +0200 |
|---|---|---|
| committer | Laurent Vivier <laurent@vivier.eu> | 2021-05-13 17:43:56 +0200 |
| commit | bf5dcf8f2cf61283a46aea14867adbec1a20fe3d (patch) | |
| tree | 1f397e5938ab06ad9f2dcb0107db874dfb220e3c /scripts/qapi/introspect.py | |
| parent | 3e9f48bcdabe57f8f90cf19f01bbbf3c86937267 (diff) | |
| download | focaccia-qemu-bf5dcf8f2cf61283a46aea14867adbec1a20fe3d.tar.gz focaccia-qemu-bf5dcf8f2cf61283a46aea14867adbec1a20fe3d.zip | |
backends/tpm: Replace qemu_mutex_lock calls with QEMU_LOCK_GUARD
Simplify the tpm_emulator_ctrlcmd() handler by replacing a pair of qemu_mutex_lock/qemu_mutex_unlock calls by the WITH_QEMU_LOCK_GUARD macro. Reviewed-by: Stefan Berger <stefanb@linux.ibm.com> Reviewed-by: Christophe de Dinechin <dinechin@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20210512070713.3286188-1-philmd@redhat.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'scripts/qapi/introspect.py')
0 files changed, 0 insertions, 0 deletions