Re: [PATCH v3 3/4] qmp: Move dispatcher to a coroutine

2020-01-17 Thread Kevin Wolf
Am 17.01.2020 um 13:20 hat Markus Armbruster geschrieben: > > @@ -579,9 +580,16 @@ void monitor_cleanup(void) > > } > > qemu_mutex_unlock(&monitor_lock); > > > > -/* QEMUBHs needs to be deleted before destroying the I/O thread */ > > -qemu_bh_delete(qmp_dispatcher_bh); > > -

Re: [PATCH v3 3/4] qmp: Move dispatcher to a coroutine

2020-01-17 Thread Markus Armbruster
Kevin Wolf writes: > This moves the QMP dispatcher to a coroutine and runs all QMP command > handlers that declare 'coroutine': true in coroutine context so they > can avoid blocking the main loop while doing I/O or waiting for other > events. > > For commands that are not declared safe to run in