@olivierlambert I actually have this need too, but it's not for USB storage. I'm running HomeAssistant on a VM, and I'd like to passthrough my Zigbee and Zwave USB devices.
Here is the xenserver doc on the topic: https://support.citrix.com/article/CTX235042
I think it actually includes the cli commands.
Hopefully that's helpful!