Make tcp_chr_read() use recvmsg()
authorMark McLoughlin <markmc@redhat.com>
Wed, 22 Jul 2009 08:11:38 +0000 (09:11 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 27 Jul 2009 13:39:27 +0000 (08:39 -0500)
commit318d9362c8be32e67dcfaba863fb6651275059c6
tree1d1e26115f67591eb0b86900070f1b1d5f212b00
parent1eb4dc7cf09f1dcd2c5f4d9469db637a31a43d95
Make tcp_chr_read() use recvmsg()

Split out tcp_chr_recv() out of tcp_chr_read() and implement it on
non-win32 using recvmsg(). This is needed for a subsequent patch
which implements SCM_RIGHTS support.

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
qemu-char.c