# 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 `resources` directory contains the necessary files for creating the VM. 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.xml` is a virtual machine without any passthrough - `win10-igpu.xml` is a virtual machine with GPU passthrough for when the laptop is in hybrid graphics mode Full guide on how to create a Windows 10 gaming virtual machine available on my [blog](https://blog.karaolidis.com/vfio/).