pci-passthrough: add note about mediated devices w.r.t kernel modules

Signed-off-by: Christoph Heiss <c.heiss@proxmox.com>
This commit is contained in:
Christoph Heiss 2024-10-22 12:19:39 +02:00 committed by Aaron Lauterer
parent 29533496a1
commit 816ee5434a

View File

@ -95,6 +95,14 @@ to the xref:sysboot_edit_kernel_cmdline[kernel commandline].
You have to make sure the following modules are loaded. This can be achieved by You have to make sure the following modules are loaded. This can be achieved by
adding them to `'/etc/modules''. adding them to `'/etc/modules''.
.Mediated devices passthrough
[NOTE]
====
If passing through mediated devices (e.g. vGPUs), the following is not needed.
In these cases, the device will be owned by the appropriate host-driver
directly.
====
---- ----
vfio vfio
vfio_iommu_type1 vfio_iommu_type1
@ -273,6 +281,13 @@ Kernel driver in use: vfio-pci
or the 'in use' line is missing entirely, the device is ready to be used for or the 'in use' line is missing entirely, the device is ready to be used for
passthrough. passthrough.
.Mediated devices
[NOTE]
====
For mediated devices this line will differ as the device will be owned as the
host driver directly, not 'vfio-pci'.
====
[[qm_pci_passthrough_vm_config]] [[qm_pci_passthrough_vm_config]]
VM Configuration VM Configuration
^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^