qemu-cr16/backends
Cédric Le Goater 19368b1905 backends/iommufd: Remove mutex
Coverity reports a concurrent data access violation because be->users
is being accessed in iommufd_backend_can_be_deleted() without holding
the mutex.

However, these routines are called from the QEMU main thread when a
device is created. In this case, the code paths should be protected by
the BQL lock and it should be safe to drop the IOMMUFD backend mutex.
Simply remove it.

Fixes: CID 1531550
Fixes: CID 1531549
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>
2024-01-05 21:25:20 +01:00
..
tpm migration 1st pull for 9.0 2024-01-05 13:35:25 +00:00
confidential-guest-support.c
cryptodev-builtin.c
cryptodev-hmp-cmds.c
cryptodev-lkcf.c
cryptodev-vhost-user.c
cryptodev-vhost.c
cryptodev.c
dbus-vmstate.c backends: Constify VMState 2023-12-30 07:38:06 +11:00
dbus-vmstate1.xml
hostmem-epc.c backends: Have HostMemoryBackendClass::alloc() handler return a boolean 2024-01-05 16:20:15 +01:00
hostmem-file.c backends: Have HostMemoryBackendClass::alloc() handler return a boolean 2024-01-05 16:20:15 +01:00
hostmem-memfd.c backends: Have HostMemoryBackendClass::alloc() handler return a boolean 2024-01-05 16:20:15 +01:00
hostmem-ram.c backends: Have HostMemoryBackendClass::alloc() handler return a boolean 2024-01-05 16:20:15 +01:00
hostmem.c misc: Simplify qemu_prealloc_mem() calls 2024-01-05 16:20:15 +01:00
iommufd.c backends/iommufd: Remove mutex 2024-01-05 21:25:20 +01:00
Kconfig
meson.build configure, meson: rename targetos to host_os 2023-12-31 09:11:29 +01:00
rng-builtin.c
rng-egd.c
rng-random.c
rng.c
trace-events
trace.h
vhost-user.c