标签:kvm
IOMMU 警告问题解决sudo virt-host-validate
If in the output you see something similar to the following, continue on below for help.
...
QEMU: Checking if IOMMU is enabled by kernel : FAIL
(IOMMU appears to be disabled in kernel. Add intel_iommu=on to kernel cmdline arguments)
...
Note: I have a lot going on here for mine, such as a fix for a weird usb power issue of my motherboard, enabling nested virtualization for kvm and more. Disregard those things and only add intel_iommu=on for this task!
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed ‘s, release .*$,,g‘ /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="nouveau.modeset=0 rd.driver.blacklist=nouveau nomodeset rhgb quiet xhci-hcd.quirks=262144 kvm-intel.nested=1 intel_iommu=on"
GRUB_DISABLE_RECOVERY="true"
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
sudo reboot
Now IOMMU should come back as PASS in this check: Run virt-host-validate again.
标签:kvm
原文地址:http://blog.51cto.com/aishangwei/2124460