Previously live commit of active block device is not supported, this series implements it and updates corresponding qemu-iotests cases.
Please see commit messages for implementation details. v2: report ready when all blocks commited for the first time, leave it to the user to complete the job (upon user's complete command, also commit writes since ready and flushes before reporting completion) Fam Zheng (2): block: allow live commit of active image qemu-iotests: update test cases for commit active block.c | 102 ++++++++------------------ block/commit.c | 190 +++++++++++++++++++++++++++++-------------------- include/block/block.h | 5 +- tests/qemu-iotests/040 | 73 ++++++++----------- 4 files changed, 177 insertions(+), 193 deletions(-) -- 1.8.3.4