summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCédric Le Goater <clg@redhat.com>2025-02-06 14:14:30 +0100
committerCédric Le Goater <clg@redhat.com>2025-02-11 14:15:19 +0100
commitcbfbedd6173cf8ff3f374ec6b8e1a17e9fa75872 (patch)
treede0d0e19642648ffc7624a134f7a336818e49d64
parent96b339cc4cc7e3d2da0e615e1851d3250b526ea5 (diff)
downloadfocaccia-qemu-cbfbedd6173cf8ff3f374ec6b8e1a17e9fa75872.tar.gz
focaccia-qemu-cbfbedd6173cf8ff3f374ec6b8e1a17e9fa75872.zip
vfio/pci: Replace "iommu_device" by "vIOMMU"
This is to be consistent with other reported errors related to vIOMMU
devices.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Alex Williamson <alex.williamson@redhat.com>
Link: https://lore.kernel.org/qemu-devel/20250206131438.1505542-3-clg@redhat.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
-rw-r--r--hw/vfio/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/vfio/pci.c b/hw/vfio/pci.c
index 9a55e7b773..89d900e9cf 100644
--- a/hw/vfio/pci.c
+++ b/hw/vfio/pci.c
@@ -3116,7 +3116,7 @@ static void vfio_realize(PCIDevice *pdev, Error **errp)
 
     if (!vbasedev->mdev &&
         !pci_device_set_iommu_device(pdev, vbasedev->hiod, errp)) {
-        error_prepend(errp, "Failed to set iommu_device: ");
+        error_prepend(errp, "Failed to set vIOMMU: ");
         goto out_teardown;
     }