[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 0/3] *** make netlayer re-entrant ***
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH 0/3] *** make netlayer re-entrant *** |
Date: |
Tue, 12 Mar 2013 09:41:43 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130219 Thunderbird/17.0.3 |
Il 07/03/2013 03:06, liu ping fan ha scritto:
> > From what I gathered from the other thread, the path forward was to
> > replace the global iohandler list that we currently use to drive
> > NetClient events and replace it with a GSource and GMainContext, rather
> > than relying on AioContexts.
>
> Not quite sure about it. Seems that AioContext is built on GSource, so
> I think they are similar, and AioContext is easy to reuse.
AioContext is designed so that it can be used either independently (as
virtio-blk-dataplane does now) or as a GSource (as we do for the "main"
AioContext, which is used for the block layer and where qemu_bh_new
places bottom halves).
Paolo
- Re: [Qemu-devel] [PATCH 2/3] net: introduce lock to protect NetClientState's send_queue, (continued)
[Qemu-devel] [PATCH 3/3] net: make netclient re-entrant with refcnt, Liu Ping Fan, 2013/03/03
Re: [Qemu-devel] [PATCH 0/3] *** make netlayer re-entrant ***, mdroth, 2013/03/05