In Proxmox, I emulated a nvme-disk and passed it through to a DSM guest using the following qemu option:
-drive 'file=/dev/mapper/pve-vm--201--disk--1,if=none,id=nvm' \
-device 'nvme,serial=deadbeef,drive=nvm'
After starting the DSM guest, disk /dev/nvme0n1 can be seen using this command:
sudo udevadm info /dev/nvme0n1
The following information was printed:
Then I modified the `/lib64/libsynonvme.so.1` file using a HEX editor in Visual Studio Code, changing the DS918+ NVME address from 0000:00:13.0 and 0000:00:13:1 to 0000:00:03.0 and 0000:00:03:1 respectively.
However, when I rebooted DSM, no nvme ssd appears in the Storage Manager.
Anyone with any clue about resolving this?