PVE使用
一、显卡直通
https://www.youtube.com/watch?v=5ce-CcYjqe8 https://www.youtube.com/watch?v=BoMlfk397h0&t=915s https://www.youtube.com/watch?v=_JTEsQufSx4 https://gitlab.com/risingprismtv/single-gpu-passthrough/-/wikis/1
# 更新:
nano /etc/apt/sources.list.d/pve-enterprise.list
# 注释掉 deb https://enterprise.proxmox.com/debian/pve stretch pve-enterprise
echo "deb http://download.proxmox.com/debian/pve stretch pve-no-subscription" > /etc/apt/sources.list.d/pve-install-repo.list
gpg --keyserver keyserver.ubuntu.com --recv-keys 0D9A1950E2EF0603
gpg --export --armor 0D9A1950E2EF0603 | apt-key add -
apt update
echo "options vfio-pci ids=10de:2486,10de:228b disable_vga=1" > /etc/modprobe.d/vfio.conf
nano /etc/modprobe.d/blacklist.conf
blacklist nouveau
blacklist radeon
blacklist nvidia
nano /etc/modprobe.d/kvm.conf
options kvm ignore_msrs=1
update-initramfs -u
reboot
直通: 1. https://blog.51cto.com/u_12242014/2382885