qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Re: [PATCH 5/5] char: Equip the unix/tcp backend to handle


From: Paolo Bonzini
Subject: [Qemu-devel] Re: [PATCH 5/5] char: Equip the unix/tcp backend to handle nonblocking writes
Date: Tue, 11 Jan 2011 14:38:00 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101103 Fedora/1.0-0.33.b2pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.6

On 01/11/2011 12:10 PM, Amit Shah wrote:
+    char_set_fd_handlers(s->fd, tcp_chr_read_poll, tcp_chr_read,
+                         char_write_unblocked, chr, poll_out);

Would the 4th parameter always be char_write_unblocked? If so, what about making it hidden within char_set_fd_handlers (also because char_write_unblocked is static in qemu-char.c).

Paolo



reply via email to

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