diff --git a/docs/iommu.md b/docs/iommu.md index 098c0fd0a..099894fcf 100644 --- a/docs/iommu.md +++ b/docs/iommu.md @@ -194,6 +194,7 @@ guest, and bind it to VFIO (it should appear as `0000:00:04.0`). ```bash echo 0000:00:04.0 > /sys/bus/pci/devices/0000\:00\:04.0/driver/unbind echo 8086 1502 > /sys/bus/pci/drivers/vfio-pci/new_id +echo 0000:00:04.0 > /sys/bus/pci/drivers/vfio-pci/bind ``` Last thing is to start the L2 guest with the huge pages memory backend. diff --git a/docs/vfio.md b/docs/vfio.md index 50464c621..250246bb3 100644 --- a/docs/vfio.md +++ b/docs/vfio.md @@ -54,6 +54,7 @@ $ lspci -n -s 01:00.0 01:00.0 ff00: 10ec:525a (rev 01) $ echo 10ec 525a > /sys/bus/pci/drivers/vfio-pci/new_id +$ echo 0000:01:00.0 > /sys/bus/pci/drivers/vfio-pci/bind ``` Now the device is managed by the VFIO framework.