Re: [PATCH v4 2/5] block: declare some coroutine functions in block/coroutines.h

2020-05-26 Thread Eric Blake
On 5/25/20 5:07 AM, Vladimir Sementsov-Ogievskiy wrote: We are going to keep coroutine-wrappers code (structure-packing parameters, BDRV_POLL wrapper functions) in a separate auto-generated s/a // files. So, we'll need a header with declaration of original _co_ functions, for those which are

[PATCH v4 2/5] block: declare some coroutine functions in block/coroutines.h

2020-05-25 Thread Vladimir Sementsov-Ogievskiy
We are going to keep coroutine-wrappers code (structure-packing parameters, BDRV_POLL wrapper functions) in a separate auto-generated files. So, we'll need a header with declaration of original _co_ functions, for those which are static now. As well, we'll need declarations for wrapper functions. D