Skip to content

Instantly share code, notes, and snippets.

Avatar
☯️

L1Cafe

☯️
View GitHub Profile
@cuibonobo
cuibonobo / README.md
Last active Nov 8, 2019
VGA Passthrough on virtual machines in CentOS 7
View README.md

Mainline kernel

After your fresh CentOS 7 setup (make sure you install the QEMU/KVM virtualization tools and virt-manager), install the mainline kernel:

sudo rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
sudo rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm
sudo yum --enablerepo=elrepo-kernel install kernel-ml
sudo yum -y update