Hello all,
After ALOT of back and forth on my different posts I have boiled it down for those using the Lenovo M720q and M920q Tiny devices as Proxmox servers and want to do PCIe passthrough or Mediated GPU:
1) Install Proxmox from ISO. I use ZFS as my file system
2) Edit /etc/kernel/cmdline and add: root=ZFS=rpool/ROOT/pve-1 boot=zfs quiet intel_iommu=on iommu=pt pcie_acs_override=downstream,multifunction i915.enable_gvt=1
3) Edit /etc/modules and add: vfio, vfio_iommu_type1, vfio_pci, kvmgt. Each should be on its own line.
4) Enter update-initramfs -u -k all from a shell session on the Proxmox server
5) Reboot Proxmox server
Once the server has rebooted run pvesh get /nodes/{nodename}/hardware/pci --pci-class-blacklist "". Change {nodename} to the name of your server. It should list all your PCIe devices in their own IOMMU groups, as well as mark your GPU as mediated.
Thats it...YMMV but thats exactly what I did on 3 M720q Tiny devices.
After ALOT of back and forth on my different posts I have boiled it down for those using the Lenovo M720q and M920q Tiny devices as Proxmox servers and want to do PCIe passthrough or Mediated GPU:
1) Install Proxmox from ISO. I use ZFS as my file system
2) Edit /etc/kernel/cmdline and add: root=ZFS=rpool/ROOT/pve-1 boot=zfs quiet intel_iommu=on iommu=pt pcie_acs_override=downstream,multifunction i915.enable_gvt=1
3) Edit /etc/modules and add: vfio, vfio_iommu_type1, vfio_pci, kvmgt. Each should be on its own line.
4) Enter update-initramfs -u -k all from a shell session on the Proxmox server
5) Reboot Proxmox server
Once the server has rebooted run pvesh get /nodes/{nodename}/hardware/pci --pci-class-blacklist "". Change {nodename} to the name of your server. It should list all your PCIe devices in their own IOMMU groups, as well as mark your GPU as mediated.
Thats it...YMMV but thats exactly what I did on 3 M720q Tiny devices.