diff options
| author | Manos Pitsidianakis <el13635@mail.ntua.gr> | 2017-09-23 14:14:09 +0300 |
|---|---|---|
| committer | Stefan Hajnoczi <stefanha@redhat.com> | 2017-10-13 12:38:41 +0100 |
| commit | 481cad48e5e655746893e001af31c161f4587a02 (patch) | |
| tree | d60d2906b97eeccfe74e043c364aeed254a27192 /hw/misc/pci-testdev.c | |
| parent | f90ea7ba7c5ae7010ee0ce062207ae42530f57d6 (diff) | |
| download | focaccia-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