From a8be4df1fec84afd8901ecbe523190829a968127 Mon Sep 17 00:00:00 2001 From: Archana Shinde Date: Wed, 11 Oct 2017 10:12:53 -0700 Subject: [PATCH] docs: Update limitations page to mention support for VFIO. The latest virtcontainers library supports passing devices to the VM with VFIO passthrough. Update limitations to reflect this. Fixes #713 Signed-off-by: Archana Shinde --- docs/limitations.md | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/docs/limitations.md b/docs/limitations.md index f34e5860..8cc7273d 100644 --- a/docs/limitations.md +++ b/docs/limitations.md @@ -242,12 +242,16 @@ See more documentation at #### `docker --device` -host device support (`docker run --device`) is not supported. This could -be mapped to the quite similar QEMU `-device` option to enact device -pass-through if that particular device is supported by VFIO, but the QEMU -option requires precise knowledge of which sort of device is being -mapped, and that information is not necessarily easily available from -the docker `--device` command. +Support has been added to pass devices using [Virtual Function I/O (VFIO)](https://www.kernel.org/doc/Documentation/vfio.txt) +passthrough. Devices that support the Input–Output Memory Management Unit (IOMMU) +feature can be assigned to the `vfio-pci` driver and passed +on the docker command line with `--device=/dev/vfio/$(iommu_group_number)`, +where `iommu_group_number` is the IOMMU group that the device belongs to. +If multiple devices belong to the same IOMMU group, they will all be +assigned to the Clear Containers VM. + +Support for passing other devices including block devices with `--device` +is not yet avilable. #### `docker -v /dev/...`