qemu-devel
[Top][All Lists]
Advanced

[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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]