Hello,
I use followed configuration to set virtio-serial port in my VM:
<controller type='virtio-serial' index='0' ports='4'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
</controller>
<channel type='unix'>
<source mode='socket' path='/tmp/foo'/>
<target type='virtio' name='guestport'/>
<address type='virtio-serial' bus='0' controller='0' port='3'/>
</channel>
My question is can the virtio-serial port use mmap function to get data from host.