Re: [Qemu-devel] [PATCH 3/4] nbd: do qemu_coroutine_yield during tls handshake

2019-02-19 Thread Vladimir Sementsov-Ogievskiy
12.02.2019 0:55, Eric Blake wrote: > On 2/11/19 6:56 AM, Vladimir Sementsov-Ogievskiy wrote: >> We always call qio_channel_tls_handshake in nbd from couroutine. Take >> benefit of it and just yield instead of creating personal main loop. >> >> Mark and rename the function and it's callers correspon

Re: [Qemu-devel] [PATCH 3/4] nbd: do qemu_coroutine_yield during tls handshake

2019-02-11 Thread Eric Blake
On 2/11/19 6:56 AM, Vladimir Sementsov-Ogievskiy wrote: > We always call qio_channel_tls_handshake in nbd from couroutine. Take > benefit of it and just yield instead of creating personal main loop. > > Mark and rename the function and it's callers correspondingly and > trace-points too. > > Sign