qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 0/7] block: bdrv_reopen() patches


From: Jeff Cody
Subject: [Qemu-devel] [PATCH 0/7] block: bdrv_reopen() patches
Date: Thu, 30 Aug 2012 14:47:06 -0400

These patches are strongly based off Supriya Kannery's original bdrv_reopen()
patches as part of the hostcache series, including the _prepare(), _commit(), 
and
_abort() structure.

Some additions / changes:

* Added support for multiple image reopen transactionally
* Reopen changes are staged into temporary stashes in prepare(),
  and copied over in commit() (discarded in abort()).
* Driver-level reopen file changes are mainly contained in
  the raw-* files.


TODO: The raw-win32 driver still needs to be finished
TODO: The vmdk driver still needs to be finished

Jeff Cody (7):
  block: correctly set the keep_read_only flag
  block: Framework for reopening files safely
  block: raw-posix image file reopen
  block: raw image file reopen
  block: qed image file reopen
  block: qcow2 image file reopen
  block: qcow image file reopen

 block.c           | 242 ++++++++++++++++++++++++++++++++++++++++++++++++++++--
 block.h           |  16 ++++
 block/qcow.c      |  23 ++++++
 block/qcow2.c     |  22 +++++
 block/qed.c       |  20 +++++
 block/raw-posix.c | 153 ++++++++++++++++++++++++++++++----
 block/raw.c       |  22 +++++
 block_int.h       |  13 +++
 qemu-common.h     |   1 +
 9 files changed, 489 insertions(+), 23 deletions(-)

-- 
1.7.11.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]