hw/vfio: Use lock guard macros
commit88eef59796f91271e3d288f64457e975dd7c8ac9
authorAmey Narkhede <ameynarkhede03@gmail.com>
Fri, 23 Oct 2020 12:43:42 +0000 (23 18:13 +0530)
committerAlex Williamson <alex.williamson@redhat.com>
Sun, 1 Nov 2020 19:30:52 +0000 (1 12:30 -0700)
tree252abb1186abde50cf857ee8dcc433b298e3b5da
parent1e7552ff5c34972a7a17d2b06900a0b66c79a68b
hw/vfio: Use lock guard macros

Use qemu LOCK_GUARD macros in hw/vfio.
Saves manual unlock calls

Signed-off-by: Amey Narkhede <ameynarkhede03@gmail.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
hw/vfio/platform.c