While working on the series that converts block jobs to using a separate BlockBackend, I noticed that I need to do some drain fixes first. So here they are.
Patches 1 and 2 are just preparation, patches 3 and 4 are the actual fixes. Kevin Wolf (4): block: Introduce bdrv_replace_child() block: Make bdrv_drain() use bdrv_drained_begin/end() block: Fix reconfiguring graph with drained nodes block: Propagate .drained_begin/end callbacks block.c | 58 +++++++++++++++++++++++++++++++++------ block/block-backend.c | 9 ++++--- block/io.c | 69 +++++++++++++++++++++++------------------------ include/block/block_int.h | 3 ++- 4 files changed, 90 insertions(+), 49 deletions(-) -- 1.8.3.1