Zend certified PHP/Magento developer

What is the proper way to use QEMU’s socket feature?

I can’t seem to find much documentation anywhere on using the -serial unix:/path/to/some/file argument to qemu-system-XXXX, so I’m hoping someone here can shed some light on this. Specifically, I’m wondering what the proper way to send data to this socket on the host and receive it on the QEMU guest side.