add information at the end of the file

This commit is contained in:
lukas 2021-07-02 14:15:29 +02:00
parent 93de830842
commit 453c3f81b5

View File

@ -117,4 +117,47 @@ grub2-mkconfig -o /boot/grub2/grub.cfg
reboot
## End of the %post section
%end
%end
# Instructions for mdev
# Generate uuid with uuigen
# echo 60f4d34b-d1a1-4756-8ebe-37e2a6e0d05f > /sys/devices/pci0000\:00/0000\:00\:02.0/mdev_supported_types/i915-GVTg_V5_4/create
# Create virtual gpu
# echo f722c397-350c-4373-abb1-3fa7af20d7c5 > /sys/bus/pci/devices/0000\:00\:02.0/mdev_supported_types/i915-GVTg_V5_4/create
# Reference :
# * See here : https://wiki.archlinux.org/title/Intel_graphics#Enable_GuC_/_HuC_firmware_loading
# * And here : https://wiki.archlinux.org/title/Intel_GVT-g
# Post-script verification
# [root@eos-h]# ls -all /etc/modules-load.d
# total 36
# drwxr-xr-x. 2 root root 137 May 18 22:56 .
# drwxr-xr-x. 123 root root 8192 Jun 15 16:33 ..
# -rw-r--r--. 1 root root 6 May 18 22:55 kvmgt.conf
# -rw-r--r--. 1 root root 5 May 18 22:52 vfio.conf
# -rw-r--r--. 1 root root 17 May 18 22:52 vfio_iommu_type1.conf
# -rw-r--r--. 1 root root 10 May 18 22:56 vfio-mdev.conf
# -rw-r--r--. 1 root root 9 May 18 22:52 vfio-pci.conf
# -rw-r--r--. 1 root root 12 May 18 22:52 vfio_virqfd.conf
# [root@eos-h]# cat /etc/default/grub
# GRUB_TIMEOUT=1
# GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
# GRUB_DEFAULT=saved
# GRUB_DISABLE_SUBMENU=true
# GRUB_TERMINAL_OUTPUT="console"
# GRUB_CMDLINE_LINUX="rd.lvm.lv=fedora_fedora/root rhgb quiet intel_iommu=on intel_iommu=pt i915.enable_gvt=1 i915.enable_guc=2"
# GRUB_DISABLE_RECOVERY="true"
# GRUB_ENABLE_BLSCFG=true
# #############
# Modify the file to add nested : /etc/modprobe.d/kvm.conf.
# nano /etc/modprobe.d/kvm.conf
# Uncomment the line related to your CPU :
# options kvm_intel nested=1
# options kvm_amd nested=1
# #############