# legion-7-vfio VFIO scripts, notes, and configs for the Lenovo Legion 7 (2021). The `notes` directory mainly contains command outputs and other useful pieces of information such as IOMMU groups on various kernels. The `scripts` directory contains: - `iommu.sh` which can be used to see your system's IOMMU groups - `kvm.conf` which contains necessary environment variables - multiple QEMU hook scripts The `xml` directory contains the final XML files for two Windows 10 virtual machines. - `Win10-nopass.xml` is a virtual machine without any passthrough - `Win10.xml` is a virtual machine with GPU, Audio, Network Card, Keyboard, Touchpad, and USB Mouse passthrough Full guide on how to create a Windows 10 gaming virtual machine available on my [blog](https://blog.karaolidis.com/vfio/).