qemu/backends
Cédric Le Goater 889695f8f3 vfio: Remove reports of DMA mapping errors in backends
Currently, the mapping handlers of the IOMMU backends, VFIO IOMMU Type
1 aka. legacy and IOMMUFD, return an errno and also report an error.
This can lead to excessive log messages at runtime for recurring DMA
mapping errors. Since these errors are already reported by the callers
in the vfio_container_dma_un/map() routines, simply remove them and
allow the callers to handle the reporting.

The mapping handler of the IOMMUFD backend has a comment suggesting
MMIO region mapping failures return EFAULT. I am not sure this is
entirely true, so keep the EFAULT case until the conditions are
clarified.

Reviewed-by: Alex Williamson <alex.williamson@redhat.com>
Link: https://lore.kernel.org/qemu-devel/20250206131438.1505542-7-clg@redhat.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
2025-02-11 14:15:19 +01:00
..
tpm Accel & Exec patch queue 2024-12-21 11:07:00 -05:00
confidential-guest-support.c system: Move 'exec/confidential-guest-support.h' to system/ 2024-12-20 17:44:56 +01:00
cryptodev-builtin.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
cryptodev-hmp-cmds.c qapi: Move include/qapi/qmp/ to include/qobject/ 2025-02-10 15:33:16 +01:00
cryptodev-lkcf.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
cryptodev-vhost-user.c backends/cryptodev-vhost-user: Fix local_error leaks 2025-01-13 17:16:04 +01:00
cryptodev-vhost.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
cryptodev.c qom: Use object_get_container() 2025-01-09 18:16:24 +01:00
dbus-vmstate.c backends: Constify VMState 2023-12-30 07:38:06 +11:00
dbus-vmstate1.xml docs: move D-Bus VMState documentation to source XML 2021-12-21 10:50:21 +04:00
host_iommu_device.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
hostmem-epc.c memory: add RAM_PRIVATE 2025-01-29 11:43:04 -03:00
hostmem-file.c memory: add RAM_PRIVATE 2025-01-29 11:43:04 -03:00
hostmem-memfd.c hostmem-memfd: preserve for cpr 2025-01-29 11:43:04 -03:00
hostmem-ram.c memory: add RAM_PRIVATE 2025-01-29 11:43:04 -03:00
hostmem-shm.c hostmem-shm: preserve for cpr 2025-01-29 11:43:04 -03:00
hostmem.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
iommufd.c vfio: Remove reports of DMA mapping errors in backends 2025-02-11 14:15:19 +01:00
Kconfig backends: Initial support for SPDM socket support 2024-07-22 20:15:42 -04:00
meson.build backends: Initial support for SPDM socket support 2024-07-22 20:15:42 -04:00
rng-builtin.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
rng-egd.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
rng-random.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
rng.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
spdm-socket.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
trace-events vfio/iommufd: Implement VFIOIOMMUClass::query_dirty_bitmap support 2024-07-23 17:14:52 +02:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00
vhost-user.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00