]> git.proxmox.com Git - qemu.git/commit
qemu-img rebase: use empty string to rebase without backing file
authorAlex Bligh <alex@alex.org.uk>
Tue, 16 Oct 2012 12:46:18 +0000 (13:46 +0100)
committerKevin Wolf <kwolf@redhat.com>
Wed, 24 Oct 2012 08:26:18 +0000 (10:26 +0200)
commita616673dd1c2e00db5e3458d2ba4b6619b78876a
tree0084791e01804e73ac49f1dc51f023b85f387088
parentb3d0380ec245d73e5233366f541497ef92b2e283
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>
qemu-img.c
qemu-img.texi