summary refs log tree commit diff stats
path: root/blockdev.c
diff options
context:
space:
mode:
authorJeff Cody <jcody@redhat.com>2012-09-27 13:29:13 -0400
committerKevin Wolf <kwolf@redhat.com>2012-09-28 18:23:12 +0200
commit747ff602636fd83daae7ee4b1dd6e8d257a89fea (patch)
treef11ef05dd801243c5afc345209d12772a2789609 /blockdev.c
parent6ebdcee2d8e9e4b41ffe4e49039927550848b926 (diff)
downloadfocaccia-qemu-747ff602636fd83daae7ee4b1dd6e8d257a89fea.tar.gz
focaccia-qemu-747ff602636fd83daae7ee4b1dd6e8d257a89fea.zip
block: add live block commit functionality
This adds the live commit coroutine.  This iteration focuses on the
commit only below the active layer, and not the active layer itself.

The behaviour is similar to block streaming; the sectors are walked
through, and anything that exists above 'base' is committed back down
into base.  At the end, intermediate images are deleted, and the
chain stitched together.  Images are restored to their original open
flags upon completion.

Signed-off-by: Jeff Cody <jcody@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'blockdev.c')
0 files changed, 0 insertions, 0 deletions