Google coral + Synology VMM

I have the same issue as @shatreyman is there any step by step guide how to solve this issue

Just thought I would share this as some might find it useful. I have a DS1621 with a coral M.2 mounted in the 2nd M.2 slot via a A/E to M key adapter. Through some experimentation I have been able to pass through the coral to a VM running HAOS. This has native support for the coral and I now have official HA Frigate addon running and using the passed through Coral.

You need to define an xml file that describes the coral adapter’s pcie bus id, in my case 0x09. E.g.

bash-4.4# lspci -nn | grep 089a

09:00.0 Class [0000]: Device [1ac1:089a]

bash-4.4# cat /volume1/utils/coral.xml

You can then use virsh command to attach this device to the VM of interest. You’ll need some trial and error to work out the correct VM ID/domain by inspecting the vguest.conf files.

“virsh attach-device 5b6983bc-4dbf-499e-bf72-3f8bc0768267 /volume1/utils/coral.xml”

This has to be done after the VM is started otherwise the VM wont be found by virsh.

Depending on your timing you might need to restart the HAOS system in order to see the apex_0 device listed under System>Hardware >All Hardware.

I’ve since added startup and shutdown tasks to DSM to get the timing correct.

No other changes were needed.

Cheers

Darren