aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2021-09-02 09:00:17 +0200
committerStefan Hajnoczi <stefanha@redhat.com>2021-09-07 09:08:24 +0100
commita990858b0cc0a7fcbf6e0ee102603e6adbbbbaef (patch)
treeab2f386883afb8dbefd291e9e19f649ae0464d5a /docs
parentcb49dfce586367cda313fe9ce92e095f534e8178 (diff)
downloadqemu-a990858b0cc0a7fcbf6e0ee102603e6adbbbbaef.zip
qemu-a990858b0cc0a7fcbf6e0ee102603e6adbbbbaef.tar.gz
qemu-a990858b0cc0a7fcbf6e0ee102603e6adbbbbaef.tar.bz2
util/vfio-helpers: Replace qemu_mutex_lock() calls with QEMU_LOCK_GUARD
Simplify qemu_vfio_dma_[un]map() handlers by replacing a pair of qemu_mutex_lock/qemu_mutex_unlock calls by the WITH_QEMU_LOCK_GUARD macro. Reviewed-by: Klaus Jensen <k.jensen@samsung.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-id: 20210902070025.197072-4-philmd@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions