[pve-devel] [PATCH docs] Fix typo in passthrough docs and improve 'Host Configuration' section
Stefan Reiter
s.reiter at proxmox.com
Wed Nov 27 11:41:07 CET 2019
Signed-off-by: Stefan Reiter <s.reiter at proxmox.com>
---
qm-pci-passthrough.adoc | 21 +++++++++++++++++++--
1 file changed, 19 insertions(+), 2 deletions(-)
diff --git a/qm-pci-passthrough.adoc b/qm-pci-passthrough.adoc
index c1bca7c..abb9075 100644
--- a/qm-pci-passthrough.adoc
+++ b/qm-pci-passthrough.adoc
@@ -149,7 +149,7 @@ PCI(e) card, for example a GPU or a network card.
Host Configuration
^^^^^^^^^^^^^^^^^^
-In this case, the host cannot use the card. There are two methods to achieve
+In this case, the host must not use the card. There are two methods to achieve
this:
* pass the device IDs to the options of the 'vfio-pci' modules by adding
@@ -162,7 +162,7 @@ to a .conf file in */etc/modprobe.d/* where `1234:5678` and `4321:8765` are
the vendor and device IDs obtained by:
+
----
-# lcpci -nn
+# lspci -nn
----
* blacklist the driver completely on the host, ensuring that it is free to bind
@@ -178,6 +178,23 @@ For both methods you need to
xref:qm_pci_passthrough_update_initramfs[update the `initramfs`] again and
reboot after that.
+.Verify Configuration
+
+To check if your changes were successful, you can use
+
+----
+# lspci -nnk
+----
+
+and check your device entry. If it says
+
+----
+Kernel driver in use: vfio-pci
+----
+
+or the 'in use' line is missing entirely, the device is ready to be used for
+passthrough.
+
[[qm_pci_passthrough_vm_config]]
VM Configuration
^^^^^^^^^^^^^^^^
--
2.20.1
More information about the pve-devel
mailing list