Commande pour lister les lisque (nest pas peur sélectioner du /dev a la fin du disque et remplacé aprrès le s-scsi#)

list hard disk devices and ids

lsblk |awk 'NR==1{print $0" DEVICE-ID(S)"}NR>1{dev=$1;printf $0" ";system("find /dev/disk/by-id -lname \"*"dev"\" -printf \" %p\"");print "";}'|grep -v -E 'part|lvm'

copy the /dev/disk/by-id.... for the device to passthrough

add the disk to the VM, update the VM ID as needed

usage:

qm set <%VM ID%> -<%VIRTUAL DEVICE%> <%DEV DISK ID%>

exemple: qm set 105 -scsi2 /dev/disk/by-id/ata-WDC_WD30EFZX-

https://www.reddit.com/r/homelab/comments/b5xpua/the_ultimate_beginners_guide_to_gpu_passthrough/

https://pve.proxmox.com/wiki/Windows_VirtIO_Drivers

https://pve.proxmox.com/wiki/Paravirtualized_Block_Drivers_for_Windows

GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on pcie_acs_override=downstream,multifunction video=efifb:off video=vesa:off vfio-pci.ids=10de:13ba,10de:0fbc vfio_iommu_type1.allow_unsafe_interrupts=1 kvm.ignore_msrs=1 modprobe.blacklist=radeon,nouveau,nvidia,nvidiafb,nvidia-gpu”