--On 26 July 2013 13:16:04 -0600 Eric Blake wrote:
-while (qemu_co_queue_next(&bs->throttled_reqs));
+while (qemu_co_enter_next(&bs->throttled_reqs)) {
+}
On first read, I missed the s/queue/enter/ change and thought all you
were doing was the s/;/{}/ change. Is the style chang
On 07/23/2013 10:29 AM, Benoît Canet wrote:
> The throttling code was segfaulting since commit
> 02ffb504485f0920cfc75a0982a602f824a9a4f4 because some qemu_co_queue_next
> caller
> does not run in a coroutine.
> qemu_co_queue_do_restart assume that the caller is a coroutinne.
s/assume/assumes/; s
The throttling code was segfaulting since commit
02ffb504485f0920cfc75a0982a602f824a9a4f4 because some qemu_co_queue_next caller
does not run in a coroutine.
qemu_co_queue_do_restart assume that the caller is a coroutinne.
As suggested by Stefan fix this by entering the coroutine directly.
Also mak