mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-05-18 05:36:24 +00:00
Add DeviceConfig::VfioModernCfg and DeviceConfig::BlockCfgModern variants so the device manager can accept creation requests for the modern VFIO and block drivers introduced in the previous commits. Wire find_device() to look up VfioModern devices by iommu_group_devnode and BlockModern devices by path_on_host. Add create_block_device_modern() for BlockConfigModern with the same driver-option normalization and virt-path assignment as the legacy path. Signed-off-by: Alex Lyn <alex.lyn@antgroup.com> Signed-off-by: Fabiano Fidêncio <ffidencio@nvidia.com>