Re: [Qemu-devel] [PATCH v2 00/13] allow tools to use the QEMU main loop

2011-10-18 Thread Paolo Bonzini
On 10/17/2011 10:19 PM, Paolo Bonzini wrote: On 10/17/2011 10:11 PM, Anthony Liguori wrote: Leftover from RFC. Right now, this is just a chainsaw cleanup. However, Kevin has plans to use the main loop everywhere (making qemu-io and qemu-img one huge coroutine). Can you add something to docs

Re: [Qemu-devel] [PATCH v2 00/13] allow tools to use the QEMU main loop

2011-10-17 Thread Anthony Liguori
On 10/11/2011 06:35 AM, Paolo Bonzini wrote: This patch series makes the QEMU main loop usable out of the executable, and especially in tools and possibly unit tests. The series already starts using the refactored main loop in qemu-nbd. What patch does this? I don't see any changes to

Re: [Qemu-devel] [PATCH v2 00/13] allow tools to use the QEMU main loop

2011-10-17 Thread Paolo Bonzini
On 10/17/2011 09:56 PM, Anthony Liguori wrote: The series already starts using the refactored main loop in qemu-nbd. What patch does this? I don't see any changes to qemu-nbd in this series. Leftover from RFC. Right now, this is just a chainsaw cleanup. However, Kevin has plans to use the

Re: [Qemu-devel] [PATCH v2 00/13] allow tools to use the QEMU main loop

2011-10-17 Thread Anthony Liguori
On 10/17/2011 03:09 PM, Paolo Bonzini wrote: On 10/17/2011 09:56 PM, Anthony Liguori wrote: The series already starts using the refactored main loop in qemu-nbd. What patch does this? I don't see any changes to qemu-nbd in this series. Leftover from RFC. Right now, this is just a chainsaw

Re: [Qemu-devel] [PATCH v2 00/13] allow tools to use the QEMU main loop

2011-10-17 Thread Paolo Bonzini
On 10/17/2011 10:11 PM, Anthony Liguori wrote: Leftover from RFC. Right now, this is just a chainsaw cleanup. However, Kevin has plans to use the main loop everywhere (making qemu-io and qemu-img one huge coroutine). Can you add something to docs that explains how to use the new main loop?

[Qemu-devel] [PATCH v2 00/13] allow tools to use the QEMU main loop

2011-10-11 Thread Paolo Bonzini
This patch series makes the QEMU main loop usable out of the executable, and especially in tools and possibly unit tests. The series already starts using the refactored main loop in qemu-nbd. This is cleaner because it avoids introducing partial transitions to GIOChannel. Interfacing with the