qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC] dataplane: IOThreads and writing dataplane-capabl


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [RFC] dataplane: IOThreads and writing dataplane-capable code
Date: Thu, 08 May 2014 15:10:48 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0

Il 08/05/2014 15:08, Kevin Wolf ha scritto:
Am 08.05.2014 um 12:16 hat Stefan Hajnoczi geschrieben:
Side note: The main loop and IOThread are both event loops but their code is
not shared completely.  Sometimes it is useful to remember that although they
are conceptually similar they are currently not interchangeable.

We need to be careful with the terminology. The choice made here, that
the main loop thread is not an IOThread, is somewhat unfortunate,
because traditionally, the "I/O thread" has been what the main loop
thread is called (in contrast to vcpu threads).

Note that the main loop thread could definitely be an IOThread, since it has an AioContext and the IOThread is just a QOM veneer for AioContext. It's just not done yet.

Paolo




reply via email to

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