All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v4 0/3] Change the backing file of images
@ 2010-01-12 11:55 Kevin Wolf
  2010-01-12 11:55 ` [Qemu-devel] [PATCH v4 1/3] block: Introduce BDRV_O_NO_BACKING Kevin Wolf
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Kevin Wolf @ 2010-01-12 11:55 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

v4:
- Handle bdrv_pwrite failure

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    |  101 ++++++++++++++++++++++++
 block_int.h      |    3 +
 qemu-img-cmds.hx |    6 ++
 qemu-img.c       |  227 +++++++++++++++++++++++++++++++++++++++++++++++++++++-
 6 files changed, 361 insertions(+), 3 deletions(-)

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

end of thread, other threads:[~2010-01-13 23:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-12 11:55 [Qemu-devel] [PATCH v4 0/3] Change the backing file of images Kevin Wolf
2010-01-12 11:55 ` [Qemu-devel] [PATCH v4 1/3] block: Introduce BDRV_O_NO_BACKING Kevin Wolf
2010-01-13 23:26   ` Anthony Liguori
2010-01-12 11:55 ` [Qemu-devel] [PATCH v4 2/3] block: Add bdrv_change_backing_file Kevin Wolf
2010-01-12 11:55 ` [Qemu-devel] [PATCH v4 3/3] qemu-img rebase Kevin Wolf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.