Re: [Qemu-devel] [RFC PATCH v2 3/4] net: port hub onto glib

2013-03-29 Thread liu ping fan
On Thu, Mar 28, 2013 at 10:47 PM, Stefan Hajnoczi wrote: > On Thu, Mar 28, 2013 at 03:55:54PM +0800, Liu Ping Fan wrote: >> From: Liu Ping Fan >> >> Attach each hubport with a GSource. Currently the GSource is attached >> to default main context, and the hub still run on iothread, but in >> futur

Re: [Qemu-devel] [RFC PATCH v2 3/4] net: port hub onto glib

2013-03-28 Thread Stefan Hajnoczi
On Thu, Mar 28, 2013 at 03:55:54PM +0800, Liu Ping Fan wrote: > From: Liu Ping Fan > > Attach each hubport with a GSource. Currently the GSource is attached > to default main context, and the hub still run on iothread, but in > future, after making the whole layer thread-safe, we will admit ports