[Top][All Lists]
[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: |
Amit Shah |
Subject: |
[Qemu-devel] Re: [PATCH 5/5] char: Equip the unix/tcp backend to handle nonblocking writes |
Date: |
Wed, 12 Jan 2011 11:46:09 +0530 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On (Tue) Jan 11 2011 [14:38:00], Paolo Bonzini wrote:
> 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).
It could change for other backends, but the plan is to move to a
struct-type declaration even for the fd handlers, like discussed in the
other thread with Gerd.
Amit
- [Qemu-devel] Re: [PATCH 2/5] char: Introduce char_set/remove_fd_handlers(), (continued)
[Qemu-devel] [PATCH 3/5] char: Add framework for a 'write unblocked' callback, Amit Shah, 2011/01/11
[Qemu-devel] [PATCH 4/5] char: Update send_all() to handle nonblocking chardev write requests, Amit Shah, 2011/01/11
[Qemu-devel] [PATCH 5/5] char: Equip the unix/tcp backend to handle nonblocking writes, Amit Shah, 2011/01/11