Re: [Qemu-devel] [RFC][PATCH v3 15/21] virtproxy: add read handler for proxied connections

2010-11-18 Thread Jes Sorensen
On 11/16/10 02:16, Michael Roth wrote: > +/* read handler for proxied connections */ > +static void vp_conn_read(void *opaque) > +{ > +VPConn *conn = opaque; > +VPDriver *drv = conn->drv; > +VPPacket pkt; > +char buf[VP_CONN_DATA_LEN]; > +int fd, count, ret; > +bool client;

[Qemu-devel] [RFC][PATCH v3 15/21] virtproxy: add read handler for proxied connections

2010-11-15 Thread Michael Roth
reads data from client/server connections as they become readable, then sends the data over the channel Signed-off-by: Michael Roth --- virtproxy.c | 114 +++ virtproxy.h |1 + 2 files changed, 115 insertions(+), 0 deletions(-) diff -