summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPaolo Bonzini2016-04-07 18:33:32 +0200
committerKevin Wolf2016-05-12 15:22:07 +0200
commitb6e84c97ed0d786a7cda4e184736e25bb8824c2c (patch)
treeb005aaafff2f3c2b47157bbe18c3cb2c1622aaae /include
parentblock: move restarting of throttled reqs to block/throttle-groups.c (diff)
downloadqemu-b6e84c97ed0d786a7cda4e184736e25bb8824c2c.tar.gz
qemu-b6e84c97ed0d786a7cda4e184736e25bb8824c2c.tar.xz
qemu-b6e84c97ed0d786a7cda4e184736e25bb8824c2c.zip
block: extract bdrv_drain_poll/bdrv_co_yield_to_drain from bdrv_drain/bdrv_co_drain
Do not call bdrv_drain_recurse twice in bdrv_co_drain. A small tweak to the logic in Fam's patch, which is harmless since no one implements bdrv_drain anyway. But better get it right. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Acked-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions