Re: [PATCH v2 0/6] coroutine: new sleep/wake API

2021-05-21 Thread Stefan Hajnoczi
On Mon, May 17, 2021 at 12:05:42PM +0200, Paolo Bonzini wrote: > This is a revamp of the qemu_co_sleep* API that makes it easier to > extend the API: the state that is needed to wake up a coroutine is now > part of the public API instead of hidden behind a pointer-to-pointer; > the API is made more

[PATCH v2 0/6] coroutine: new sleep/wake API

2021-05-17 Thread Paolo Bonzini
This is a revamp of the qemu_co_sleep* API that makes it easier to extend the API: the state that is needed to wake up a coroutine is now part of the public API instead of hidden behind a pointer-to-pointer; the API is made more extensible by pushing the rest of QemuCoSleepState into local variable