Q&A forums are currently English only.
The simplest solution may be to capture the com port data via ethernet.
https://comtrol.com/ethernet-device-servers/devicemaster-panel-mount/devicemaster-rts-1port-db9
We used many of these in mining where the RS232 device was miles away from PC also whether physical or virtual machine makes no difference.
--please don't forget to upvote
and Accept as answer
if the reply is helpful--