qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v3 0/2] block: allow commit active as top
@ 2013-08-15  8:14 Fam Zheng
  2013-08-15  8:14 ` [Qemu-devel] [PATCH v3 1/2] block: allow live commit of active image Fam Zheng
  2013-08-15  8:14 ` [Qemu-devel] [PATCH v3 2/2] qemu-iotests: update test cases for commit active Fam Zheng
  0 siblings, 2 replies; 7+ messages in thread
From: Fam Zheng @ 2013-08-15  8:14 UTC (permalink / raw)
  To: qemu-devel; +Cc: kwolf, famz, jcody, stefanha, pbonzini

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.

v3: [addressing Stefan's comments]
    - Sleep in dirty map setup loop.
    - Handle error of bdrv_co_is_allocated_above().
    - Fix order of dirty map reset and commit_populate().
    - Use bdrv_co_flush().
    - Put s->overlay check in one if block.
    - Don't interleave orig_overlay_flags and orig_base_flags saving
      stanzas.

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         | 215 ++++++++++++++++++++++++++++++-------------------
 include/block/block.h  |   5 +-
 tests/qemu-iotests/040 |  73 +++++++----------
 4 files changed, 195 insertions(+), 200 deletions(-)

-- 
1.8.3.1

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-09-18 11:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-15  8:14 [Qemu-devel] [PATCH v3 0/2] block: allow commit active as top Fam Zheng
2013-08-15  8:14 ` [Qemu-devel] [PATCH v3 1/2] block: allow live commit of active image Fam Zheng
2013-09-04 12:35   ` Stefan Hajnoczi
2013-09-18  3:32     ` Fam Zheng
2013-09-18  9:36       ` Stefan Hajnoczi
2013-09-18 11:46     ` Paolo Bonzini
2013-08-15  8:14 ` [Qemu-devel] [PATCH v3 2/2] qemu-iotests: update test cases for commit active Fam Zheng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).