* [Qemu-devel] Re: [COMMIT 9977c89] Make tcp_chr_read() use recvmsg()
[not found] ` <m3ocr6sz9a.fsf@neno.mitica>
@ 2009-07-27 19:56 ` Anthony Liguori
0 siblings, 0 replies; only message in thread
From: Anthony Liguori @ 2009-07-27 19:56 UTC (permalink / raw)
To: Juan Quintela; +Cc: qemu-devel
Juan Quintela wrote:
> Anthony Liguori <aliguori@us.ibm.com> wrote:
>
>> From: Mark McLoughlin <markmc@redhat.com>
>>
>> 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>
>>
>> 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
^ permalink raw reply [flat|nested] only message in thread