qemu/include/block
Benoît Canet b681a1c73e block: Repair the throttling code.
The throttling code was segfaulting since commit
02ffb50448 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 make sure like suggested that qemu_co_queue_next() and
qemu_co_queue_restart_all() can be called only in coroutines.

Signed-off-by: Benoit Canet <benoit@irqsave.net>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2013-07-29 17:07:37 +02:00
..
aio.h QEMUBH: make AioContext's bh re-entrant 2013-07-19 12:29:21 +08:00
block_int.h Implement sync modes for drive-backup. 2013-07-26 22:01:31 +02:00
block.h block: add bdrv_write_zeroes() 2013-07-19 12:29:21 +08:00
blockjob.h block: move include files to include/block/ 2012-12-19 08:31:31 +01:00
coroutine_int.h coroutine: stop using AioContext in CoQueue 2013-05-24 16:17:56 +02:00
coroutine.h block: Repair the throttling code. 2013-07-29 17:07:37 +02:00
nbd.h nbd: support large NBD requests 2013-05-03 13:05:49 +02:00
qapi.h qmp: add ImageInfo in BlockDeviceInfo used by query-block 2013-06-07 13:37:45 +02:00
scsi.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
snapshot.h block: move snapshot code in block.c to block/snapshot.c 2013-06-04 13:56:30 +02:00
thread-pool.h threadpool: drop global thread pool 2013-03-15 16:07:51 +01:00