sudo apt install virt-manager
Add to /etc/default/grub
i915.enable_gvt=1 kvm.ignore_msrs=1
Run
update-grub
reboot
GVT_PCI="$(lspci -D | grep Intel.*Graphics | cut -f1 -d' ')"
GVT_DOM="$(echo ${GVT_PCI} | cut -f1,2 -d':')"
ls /sys/devices/pci${GVT_DOM}/${GVT_PCI}/mdev_supported_types | grep V5_4
Add to /etc/initramfs-tools/modules
kvmgt
xengt
vfio-iommu-type1
vfio-mdev
Run
update-initramfs -u
sudo gpasswd -a $USER kvm