summary refs log tree commit diff stats
path: root/target-openrisc/exception.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2016-03-22 12:05:35 +0100
committerKevin Wolf <kwolf@redhat.com>2016-05-19 16:45:30 +0200
commitc2066af0514d80a805dac82accaec1121babfa15 (patch)
tree2a1eebe6ab1f73451c39533a178986cbd5239569 /target-openrisc/exception.c
parent22aa8b246ada8d45add8eef64d4640a20b4f7ef3 (diff)
downloadfocaccia-qemu-c2066af0514d80a805dac82accaec1121babfa15.tar.gz
focaccia-qemu-c2066af0514d80a805dac82accaec1121babfa15.zip
block: Drain throttling queue with BdrvChild callback
This removes the last part of I/O throttling from block/io.c and moves
it to the BlockBackend.

Instead of having knowledge about throttling inside io.c, we can call a
BdrvChild callback .drained_begin/end, which happens to drain the
throttled requests for BlockBackend parents.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'target-openrisc/exception.c')
0 files changed, 0 insertions, 0 deletions