>-----Original Message----- >From: Pierrick Bouvier <[email protected]> >Subject: [PATCH v3 1/2] backends/iommufd.c: report error when /dev/iommu is >not available > >In case current kernel does not support /dev/iommu, qemu will probably >fail first because /sys/bus/pci/devices/*/vfio-dev/ is not present, >since QEMU opens it before /dev/iommu. > >Instead, report an error directly when completing an iommufd object, to >inform user that kernel does not support it, with a hint about missing >CONFIG_IOMMUFD. We can't do this from initialize as there is no way to >return an error, and we don't want to abort at this step. > >Reviewed-by: Philippe Mathieu-Daudé <[email protected]> >Reviewed-by: Cédric Le Goater <[email protected]> >Signed-off-by: Pierrick Bouvier <[email protected]>
Reviewed-by: Zhenzhong Duan <[email protected]> Zhenzhong
