Re: [Qemu-devel] [PATCH v8 0/5] Coroutines for better asynchronous programming

2011-07-29 Thread Stefan Hajnoczi
On Tue, Jul 26, 2011 at 10:21 AM, Stefan Hajnoczi stefa...@linux.vnet.ibm.com wrote: QEMU is event-driven and suffers when blocking operations are performed because VM execution may be stopped until the operation completes.  Therefore many operations that could block are performed

Re: [Qemu-devel] [PATCH v8 0/5] Coroutines for better asynchronous programming

2011-07-27 Thread Aneesh Kumar K.V
On Tue, 26 Jul 2011 10:21:12 +0100, Stefan Hajnoczi stefa...@linux.vnet.ibm.com wrote: QEMU is event-driven and suffers when blocking operations are performed because VM execution may be stopped until the operation completes. Therefore many operations that could block are performed

Re: [Qemu-devel] [PATCH v8 0/5] Coroutines for better asynchronous programming

2011-07-27 Thread Kevin Wolf
Am 27.07.2011 11:45, schrieb Aneesh Kumar K.V: On Tue, 26 Jul 2011 10:21:12 +0100, Stefan Hajnoczi stefa...@linux.vnet.ibm.com wrote: QEMU is event-driven and suffers when blocking operations are performed because VM execution may be stopped until the operation completes. Therefore many

Re: [Qemu-devel] [PATCH v8 0/5] Coroutines for better asynchronous programming

2011-07-27 Thread Aneesh Kumar K.V
On Wed, 27 Jul 2011 15:15:20 +0530, Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com wrote: On Tue, 26 Jul 2011 10:21:12 +0100, Stefan Hajnoczi stefa...@linux.vnet.ibm.com wrote: QEMU is event-driven and suffers when blocking operations are performed because VM execution may be stopped

Re: [Qemu-devel] [PATCH v8 0/5] Coroutines for better asynchronous programming

2011-07-27 Thread Aneesh Kumar K.V
On Wed, 27 Jul 2011 12:03:57 +0200, Kevin Wolf kw...@redhat.com wrote: Am 27.07.2011 11:45, schrieb Aneesh Kumar K.V: On Tue, 26 Jul 2011 10:21:12 +0100, Stefan Hajnoczi stefa...@linux.vnet.ibm.com wrote: QEMU is event-driven and suffers when blocking operations are performed because

Re: [Qemu-devel] [PATCH v8 0/5] Coroutines for better asynchronous programming

2011-07-27 Thread Kevin Wolf
Am 27.07.2011 13:39, schrieb Aneesh Kumar K.V: Can you review the patch that add CoRWlock ? http://article.gmane.org/gmane.comp.emulators.qemu/105402 Message-id:1307382497-3737-2-git-send-email-aneesh.ku...@linux.vnet.ibm.com commit 8c787d8b81aca1f4f7be45adb67b9e1a6dde7f1f Author: Aneesh

[Qemu-devel] [PATCH v8 0/5] Coroutines for better asynchronous programming

2011-07-26 Thread Stefan Hajnoczi
QEMU is event-driven and suffers when blocking operations are performed because VM execution may be stopped until the operation completes. Therefore many operations that could block are performed asynchronously and a callback is invoked when the operation has completed. This allows QEMU to

Re: [Qemu-devel] [PATCH v8 0/5] Coroutines for better asynchronous programming

2011-07-26 Thread Stefan Hajnoczi
On Tue, Jul 26, 2011 at 10:21 AM, Stefan Hajnoczi stefa...@linux.vnet.ibm.com wrote: QEMU is event-driven and suffers when blocking operations are performed because VM execution may be stopped until the operation completes.  Therefore many operations that could block are performed