将/etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet"替换成下面的
GRUB_CMDLINE_LINUX_DEFAULT="quiet initel_iommu=on"
cat/etc/default/grub
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet initel_iommu=on"
GRUB_CMDLINE_LINUX=""
在
添加vfio
vfio_iommu_typel
vfio_pci
vfio_virqfd
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
vfio
vfio_iommu_typel
vfio_pci
vfio_virqfd
输入root@www:~# update-initramfs -u -k all. 更新一下
然后重启一下。