qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: [COMMIT 9977c89] Make tcp_chr_read() use recvmsg()


From: Anthony Liguori
Subject: [Qemu-devel] Re: [COMMIT 9977c89] Make tcp_chr_read() use recvmsg()
Date: Mon, 27 Jul 2009 14:56:32 -0500
User-agent: Thunderbird 2.0.0.21 (X11/20090320)

Juan Quintela wrote:
Anthony Liguori <address@hidden> wrote:
From: Mark McLoughlin <address@hidden>

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 <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>

diff --git a/qemu-char.c b/qemu-char.c
index 287e0cd..9886228 100644
--- a/qemu-char.c
+++ b/qemu-char.c
@@ -1907,6 +1907,29 @@ static void tcp_chr_process_IAC_bytes(CharDriverState 
*chr,
     *size = j;
 }
+#ifndef WIN32

As far as I know, WIN32 is not defined, it has to be _WIN32

Later, Juan.

Indeed, thanks for catching that.


--
Regards,

Anthony Liguori





reply via email to

[Prev in Thread] Current Thread [Next in Thread]