Login as root on your server (not VM)
List all disk physical disks IDs:
ls -l /dev/disk/by-id/
Add the disk to VM:
qm set 101 -scsi3 /dev/disk/by-id/ata-WDC_xxxxxxxxxxxxx
101 is the id of VM (usually 100 is the first VM), scsi3 is the first available hard disk ID in your VM (usually scsi0 is the first disk in VM) and ata-WDC_xxxxxxxxxxxxx is the disk ID you’ve got in the first step.
To stop the connection:
qm unlink 101 --idlist scsi3