Paolo Bonzini b6e84c97ed 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>
2016-05-12 15:22:07 +02:00
..
2016-01-20 13:36:23 +01:00
2016-04-05 17:23:21 +02:00
2016-03-30 12:16:02 +02:00
2016-01-20 13:36:23 +01:00
2016-04-05 11:46:52 +02:00
2016-03-30 12:16:02 +02:00
2016-03-30 12:16:02 +02:00
2016-01-20 13:36:23 +01:00
2016-01-20 13:36:23 +01:00
2016-01-20 13:36:23 +01:00
2016-01-20 13:36:23 +01:00
2016-01-20 13:36:23 +01:00
2016-01-20 13:36:23 +01:00
2016-03-30 12:16:02 +02:00
2016-03-29 19:54:49 +01:00
2016-01-20 13:36:23 +01:00
2016-04-29 11:14:13 +02:00
2016-01-20 13:36:23 +01:00
2016-01-20 13:36:23 +01:00