aboutsummaryrefslogtreecommitdiff
path: root/qemu-options.h
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 /qemu-options.h
parent22aa8b246ada8d45add8eef64d4640a20b4f7ef3 (diff)
downloadqemu-c2066af0514d80a805dac82accaec1121babfa15.zip
qemu-c2066af0514d80a805dac82accaec1121babfa15.tar.gz
qemu-c2066af0514d80a805dac82accaec1121babfa15.tar.bz2
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 'qemu-options.h')
0 files changed, 0 insertions, 0 deletions