qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v3 0/3] Change the backing file of images
@ 2009-12-17 14:40 Kevin Wolf
  2009-12-17 14:40 ` [Qemu-devel] [PATCH v3 1/3] block: Introduce BDRV_O_NO_BACKING Kevin Wolf
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Kevin Wolf @ 2009-12-17 14:40 UTC (permalink / raw)
  To: qemu-devel; +Cc: Kevin Wolf

This patch series adds the functionality to change the backing file of existing
images. This includes simple renaming of a backing file without converting the
COW image as well as safe rebasing onto a different backing file that has some
changes compared to the current backing file.

v2:
- Added missing braces in copied code

v3:
- Added some missing error checks
- Fixed storing the backing file format in qcow2
- Open backing files with right format

Kevin Wolf (3):
  block: Introduce BDRV_O_NO_BACKING
  block: Add bdrv_change_backing_file
  qemu-img rebase

 block.c          |   24 +++++-
 block.h          |    3 +
 block/qcow2.c    |   88 +++++++++++++++++++++
 block_int.h      |    3 +
 qemu-img-cmds.hx |    6 ++
 qemu-img.c       |  227 +++++++++++++++++++++++++++++++++++++++++++++++++++++-
 6 files changed, 348 insertions(+), 3 deletions(-)

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

end of thread, other threads:[~2009-12-17 14:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-17 14:40 [Qemu-devel] [PATCH v3 0/3] Change the backing file of images Kevin Wolf
2009-12-17 14:40 ` [Qemu-devel] [PATCH v3 1/3] block: Introduce BDRV_O_NO_BACKING Kevin Wolf
2009-12-17 14:40 ` [Qemu-devel] [PATCH v3 2/3] block: Add bdrv_change_backing_file Kevin Wolf
2009-12-17 14:40 ` [Qemu-devel] [PATCH v3 3/3] qemu-img rebase Kevin Wolf

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).