Migrating bare metal to xcp VM

I am planning to migrate my TrueNAS core 13.x running on bare metal to an xcp VM but I am unsure as to how I get the zfs disks imported.

Any docs online ?

Thanks

you should use pcie passthrough to pass an hba to the vm, that way truenas still has full access to the disks.

Edit: See Yes, You Can (Still) Virtualize TrueNAS

Thanks. I will have a look at that