2 Sonoff P coordinator on Virtualbox

I would like to share it with others, in case the information is useful to someone.

I am running HomeAssistant on a Windows machine in VirtualBox and I am connecting 2 identical Sonoff Dongle P via USB. In Homeassistant I created 2 Zigbee2mqtt to connect to the 2 coordinators. I have been looking for a solution for a long time to the error that one of the Sonoff coordinators was not available from HomeAssistant at certain intervals, so the devices connected to it also became inaccessible. In this case, Windows and Virtualbox saw the Sonoff, but HomeAssistant no longer did.

What solved the error for me was that after I added the 2 Sonoffs to the Virtualbox, I added the serial number of the Sonoff coordinators one by one to the “Serial No” row in the USB data table.
Since then, the 2 coordinators have been running stably on the 2 Zigbee2Mqtts.