aboutsummaryrefslogtreecommitdiff
path: root/qemu-img.texi
diff options
context:
space:
mode:
authorAlex Bligh <alex@alex.org.uk>2012-10-16 13:46:18 +0100
committerKevin Wolf <kwolf@redhat.com>2012-10-24 10:26:18 +0200
commita616673dd1c2e00db5e3458d2ba4b6619b78876a (patch)
tree0084791e01804e73ac49f1dc51f023b85f387088 /qemu-img.texi
parentb3d0380ec245d73e5233366f541497ef92b2e283 (diff)
qemu-img rebase: use empty string to rebase without backing file
This patch allows an empty filename to be passed as the new base image name for qemu-img rebase to mean base the image on no backing file (i.e. independent of any backing file). According to Eric Blake, qemu-img rebase already supports this when '-u' is used; this adds support when -u is not used. Signed-off-by: Alex Bligh <alex@alex.org.uk> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qemu-img.texi')
-rw-r--r--qemu-img.texi4
1 files changed, 3 insertions, 1 deletions
diff --git a/qemu-img.texi b/qemu-img.texi
index 8b05f2c428..42ec392c36 100644
--- a/qemu-img.texi
+++ b/qemu-img.texi
@@ -148,7 +148,9 @@ Changes the backing file of an image. Only the formats @code{qcow2} and
The backing file is changed to @var{backing_file} and (if the image format of
@var{filename} supports this) the backing file format is changed to
-@var{backing_fmt}.
+@var{backing_fmt}. If @var{backing_file} is specified as ``'' (the empty
+string), then the image is rebased onto no backing file (i.e. it will exist
+independently of any backing file).
There are two different modes in which @code{rebase} can operate:
@table @option