From 816ee5434ae9c504aa7971b093bc912e92d4b878 Mon Sep 17 00:00:00 2001 From: Christoph Heiss Date: Tue, 22 Oct 2024 12:19:39 +0200 Subject: [PATCH] pci-passthrough: add note about mediated devices w.r.t kernel modules Signed-off-by: Christoph Heiss --- qm-pci-passthrough.adoc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/qm-pci-passthrough.adoc b/qm-pci-passthrough.adoc index c3dd184..4f19f2a 100644 --- a/qm-pci-passthrough.adoc +++ b/qm-pci-passthrough.adoc @@ -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 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_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 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]] VM Configuration ^^^^^^^^^^^^^^^^