On Wed, 19 Mar 2014 11:05:02 +0100 Stefan Hajnoczi <stefa...@redhat.com> wrote:
> On Tue, Mar 18, 2014 at 11:28:47PM +0100, Thomas Huth wrote: > > On Tue, 18 Mar 2014 09:34:56 +0530 > > Kashyap Chamarthy <kcham...@redhat.com> wrote: > > > > > On Tue, Mar 18, 2014 at 07:56:16AM +0800, Le Tan wrote: > > > > Hi, I am diving into the source code of qemu. I see the word > > > > "coroutine" appears in so many places. I can't figure out what it > > > > means. So, please, can anyone help me, telling me the mechanism or > > > > semantic of "coroutine"? Thanks! > > > > > > This might be of help -- > > > http://blog.vmsplice.net/2014/01/coroutines-in-qemu-basics.html > > > > That's a very nice introduction ... Stefan, maybe you could also add > > that to the docs directory of the QEMU repository? There does not seem > > to be a description of the QEMU coroutines there yet... > > Have you seen the documentation in include/block/coroutine.h? Yes, but that does not have the nice introduction that you've given in your blog - that's why I though it might be useful to have that information in a file in the docs directory, too. Well, it was just an idea ... if you think the API description in coroutine.h is sufficient, I am certainly fine with that. Regards, Thomas