[PATCH v3 2/2] vhost: force vIOMMU enablement with VDUSE

Kevin Traynor ktraynor at redhat.com
Thu Jul 13 16:09:28 CEST 2023


On 13/07/2023 14:52, Maxime Coquelin wrote:
> Unlike Vhost-user, VDUSE requires vIOMMU support.
> This patch ignores whether RTE_VHOST_USER_IOMMU_SUPPORT
> flag is passed at register time to avoid having application
> to pass it for having working VDUSE device creation.
> 
> Fixes: 0adb8eccc6a6 ("vhost: add VDUSE device creation and destruction")
> 
> Signed-off-by: Maxime Coquelin<maxime.coquelin at redhat.com>
> ---
>   lib/vhost/socket.c | 12 +++++++-----
>   1 file changed, 7 insertions(+), 5 deletions(-)

lgtm
Acked-by: Kevin Traynor <ktraynor at redhat.com>



More information about the dev mailing list