How to enable IOMMU in Fedora
来源:互联网 发布:淘宝挂钩 编辑:程序博客网 时间:2024/05/22 08:06
原文:https://scottlinux.com/2017/05/10/how-to-enable-iommu-support-in-fedora-linux/
Typically by default, IOMMU is not enabled in Linux. I’ll show how to enable that virtualization feature on Fedora Linux!
1. First, check if IOMMU support is enabled by running this command:
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)...
2. Edit the file /etc/default/grub and add intel_iommu=on to the existing GRUB_CMDLINE_LINUX line.
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=5GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"GRUB_DEFAULT=savedGRUB_DISABLE_SUBMENU=trueGRUB_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"
3. Next, update grub2 via:
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
4. And finally reboot.
sudo reboot
Now IOMMU should come back as PASS in this check: Run virt-host-validate again.
- How to enable IOMMU in Fedora
- Fedora 20: How to enable SSH
- Linux: How to enable root user in Gnome for VirtualBox Fedora?
- how to enable debug in eclipse + weblogic
- How To Enable Apache Modules in Ubuntu
- How to enable directory listing in tomcat
- How to enable IP Forwarding in Linux
- how to enable debug in configure?
- How to Enable IP Forwarding in Linux
- How to enable cURL in PHP / XAMPP
- How-to: enable fair scheduler in hadoop
- How to enable guest posting in phpBB3
- How to enable TRACE_EVENT in WebRTC codes
- Linux: How to Enable SSH on Fedora 16
- How to install realplayer In Fedora 7
- How to install mplayer in Fedora Core
- How to close firewall in Fedora
- How to launch terminal Window in Fedora
- Ubuntu添加root用户和登录界面
- 【PAT】【Advanced Level】1012. The Best Rank (25)
- 线性表(顺序表)之C++封装
- 在Android studio中用网格布局做计算机界面
- ubuntu安装
- How to enable IOMMU in Fedora
- Android控件 如何把控
- CSS选择器
- Java Io流总结
- Angular2 学习
- java线程的六个状态
- SQL--锁
- Mybatis 之List<?>传参的注意事项和原理
- Source Insight4.0问题总结