The spice protocol implements USB redirection which allows USB devices plugged in the PC running the spice client (remote-viewer) to be accessible in the guest OS of the VM running on the server (the server runs QEMU with an embedded Spice server).
First, the `qemu-xhci` device must be added to the VM with:
```
-device qemu-xhci
```
Then, for each USB device to be supported and connected (on a different USB port), its vendor ID (`VID`), product ID (`PID`) and an arbitrary redirection name (`REDIR`) must be specified: