Skip to content
Snippets Groups Projects
user avatar
Eric Auger authored
We introduce the vfio_init_container_type() helper.
It computes the highest usable iommu type and then
set the container and the iommu type.

Its usage in vfio_connect_container() makes the code
ready for addition of new iommu types.

Signed-off-by: default avatarEric Auger <eric.auger@redhat.com>
Reviewed-by: default avatarGreg Kurz <groug@kaod.org>
Signed-off-by: default avatarAlex Williamson <alex.williamson@redhat.com>
2b6326c0
History
Name Last commit Last update