On Thu, Jun 13, 2013 at 05:03:04PM +0800, Liu Ping Fan wrote: > From: Liu Ping Fan <pingf...@linux.vnet.ibm.com> > > qemu_net_client_setup() is the only user of qemu_new_net_queue(), which > will pass in NetClientState. By forcing it be a NetClientState, we > can ref/unref NetQueue's owner
Please s/opaque/nc/ in net/queue.[hc] since it's no longer "opaque" :). Also, qemu_deliver_packet()/qemu_deliver_packet_iov() can take an NetClientState *nc instead of void *opaque. > Signed-off-by: Liu Ping Fan <pingf...@linux.vnet.ibm.com> pingfank here and pingfanl in the From: header. Are both okay and which do you prefer to use?