Re: [Qemu-devel] [PATCH v2 4/6] net: force NetQue opaque to be NetClientState

2013-06-19 Thread liu ping fan
On Tue, Jun 18, 2013 at 8:47 PM, Stefan Hajnoczi wrote: > On Thu, Jun 13, 2013 at 05:03:04PM +0800, Liu Ping Fan wrote: >> From: Liu Ping Fan >> >> 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

Re: [Qemu-devel] [PATCH v2 4/6] net: force NetQue opaque to be NetClientState

2013-06-18 Thread Stefan Hajnoczi
On Thu, Jun 13, 2013 at 05:03:04PM +0800, Liu Ping Fan wrote: > From: Liu Ping Fan > > 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.[h