Re: [PATCH v7 00/13] monitor: Optionally run handlers in coroutines

2020-09-28 Thread Kevin Wolf
Am 28.09.2020 um 10:46 hat Stefan Hajnoczi geschrieben: > On Fri, Sep 25, 2020 at 07:15:41PM +0200, Kevin Wolf wrote: > > Am 10.09.2020 um 15:24 hat Stefan Hajnoczi geschrieben: > > > On Wed, Sep 09, 2020 at 05:11:36PM +0200, Kevin Wolf wrote: > > > > Some QMP command handlers can block the main lo

Re: [PATCH v7 00/13] monitor: Optionally run handlers in coroutines

2020-09-28 Thread Markus Armbruster
Kevin Wolf writes: > Am 10.09.2020 um 15:24 hat Stefan Hajnoczi geschrieben: >> On Wed, Sep 09, 2020 at 05:11:36PM +0200, Kevin Wolf wrote: >> > Some QMP command handlers can block the main loop for a relatively long >> > time, for example because they perform some I/O. This is quite nasty. >> >

Re: [PATCH v7 00/13] monitor: Optionally run handlers in coroutines

2020-09-28 Thread Stefan Hajnoczi
On Fri, Sep 25, 2020 at 07:15:41PM +0200, Kevin Wolf wrote: > Am 10.09.2020 um 15:24 hat Stefan Hajnoczi geschrieben: > > On Wed, Sep 09, 2020 at 05:11:36PM +0200, Kevin Wolf wrote: > > > Some QMP command handlers can block the main loop for a relatively long > > > time, for example because they pe

Re: [PATCH v7 00/13] monitor: Optionally run handlers in coroutines

2020-09-25 Thread Kevin Wolf
Am 10.09.2020 um 15:24 hat Stefan Hajnoczi geschrieben: > On Wed, Sep 09, 2020 at 05:11:36PM +0200, Kevin Wolf wrote: > > Some QMP command handlers can block the main loop for a relatively long > > time, for example because they perform some I/O. This is quite nasty. > > Allowing such handlers to r

Re: [PATCH v7 00/13] monitor: Optionally run handlers in coroutines

2020-09-15 Thread Stefan Hajnoczi
On Mon, Sep 14, 2020 at 05:09:49PM +0200, Markus Armbruster wrote: > Stefan Hajnoczi writes: > > > On Wed, Sep 09, 2020 at 05:11:36PM +0200, Kevin Wolf wrote: > >> Some QMP command handlers can block the main loop for a relatively long > >> time, for example because they perform some I/O. This is

Re: [PATCH v7 00/13] monitor: Optionally run handlers in coroutines

2020-09-14 Thread Markus Armbruster
Stefan Hajnoczi writes: > On Wed, Sep 09, 2020 at 05:11:36PM +0200, Kevin Wolf wrote: >> Some QMP command handlers can block the main loop for a relatively long >> time, for example because they perform some I/O. This is quite nasty. >> Allowing such handlers to run in a coroutine where they can

Re: [PATCH v7 00/13] monitor: Optionally run handlers in coroutines

2020-09-10 Thread Stefan Hajnoczi
On Wed, Sep 09, 2020 at 05:11:36PM +0200, Kevin Wolf wrote: > Some QMP command handlers can block the main loop for a relatively long > time, for example because they perform some I/O. This is quite nasty. > Allowing such handlers to run in a coroutine where they can yield (and > therefore release

Re: [PATCH v7 00/13] monitor: Optionally run handlers in coroutines

2020-09-09 Thread no-reply
Patchew URL: https://patchew.org/QEMU/20200909151149.490589-1-kw...@redhat.com/ Hi, This series failed build test on FreeBSD host. Please find the details below. === TEST SCRIPT BEGIN === #!/bin/bash # Testing script will be invoked under the git checkout with # HEAD pointing to a commit that

[PATCH v7 00/13] monitor: Optionally run handlers in coroutines

2020-09-09 Thread Kevin Wolf
Some QMP command handlers can block the main loop for a relatively long time, for example because they perform some I/O. This is quite nasty. Allowing such handlers to run in a coroutine where they can yield (and therefore release the BQL) while waiting for an event such as I/O completion solves th