Make tcp_chr_read() use recvmsg()
commit58cc6b7a5a664b83022f234458b50a0f263a6e03
authorMark McLoughlin <markmc@redhat.com>
Wed, 22 Jul 2009 08:11:38 +0000 (22 09:11 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 29 Jul 2009 16:47:09 +0000 (29 11:47 -0500)
tree566a897da4c7799def861eee8e3f7eddae7a241c
parent583b6d0c043b6f91c12a686c483a076cb0e12cb6
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