let’s add a parameter after “quiet” to activate IOMMU additional.
The result should look like this:
Then the bootloader configuration is updated.
We go to the next file.
The following is inserted below the entire comment line (the lines with #):
Support for “IOMMU remapping” must be available for PCI devices to pass through. This is checked here with.
dmesg | grep 'remapping'
"DMAR-IR: Enabled IRQ remapping in x2apic mode" ('x2apic' can be different on old CPUs, but should still work)
the function is supported.
Next, a file is created. This is used to lock the graphics drivers on the host so that it cannot load them and thus damage the graphics cards. This can potentially eliminate issues with GPU-to-VM pass-through.
In the File.
we enter the following.
Last wish initramfs updated.
update-initramfs -u -k all
In the end, the host will reboot.