From: Kevin Wolf <kwolf@redhat.com>
To: qemu-devel@nongnu.org
Cc: Kevin Wolf <kwolf@redhat.com>
Subject: [Qemu-devel] [PATCH v4 0/3] Change the backing file of images
Date: Tue, 12 Jan 2010 12:55:15 +0100 [thread overview]
Message-ID: <1263297318-10912-1-git-send-email-kwolf@redhat.com> (raw)
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(-)
next reply other threads:[~2010-01-12 11:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-12 11:55 Kevin Wolf [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1263297318-10912-1-git-send-email-kwolf@redhat.com \
--to=kwolf@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).