Fix typo in passthrough docs and improve 'Host Configuration' section

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
This commit is contained in:
Stefan Reiter 2019-11-27 11:41:07 +01:00 committed by Thomas Lamprecht
parent a4a67cdb74
commit eebb350680

View File

@ -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
^^^^^^^^^^^^^^^^