summary refs log tree commit diff stats
path: root/hw/misc/pci-testdev.c
diff options
context:
space:
mode:
authorManos Pitsidianakis <el13635@mail.ntua.gr>2017-09-23 14:14:09 +0300
committerStefan Hajnoczi <stefanha@redhat.com>2017-10-13 12:38:41 +0100
commit481cad48e5e655746893e001af31c161f4587a02 (patch)
treed60d2906b97eeccfe74e043c364aeed254a27192 /hw/misc/pci-testdev.c
parentf90ea7ba7c5ae7010ee0ce062207ae42530f57d6 (diff)
downloadfocaccia-qemu-481cad48e5e655746893e001af31c161f4587a02.tar.gz
focaccia-qemu-481cad48e5e655746893e001af31c161f4587a02.zip
block: add bdrv_co_drain_end callback
BlockDriverState has a bdrv_co_drain() callback but no equivalent for
the end of the drain. The throttle driver (block/throttle.c) needs a way
to mark the end of the drain in order to toggle io_limits_disabled
correctly, thus bdrv_co_drain_end is needed.

Signed-off-by: Manos Pitsidianakis <el13635@mail.ntua.gr>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'hw/misc/pci-testdev.c')
0 files changed, 0 insertions, 0 deletions