]> git.proxmox.com Git - qemu.git/commit - block.c
qemu-img: make "info" backing file output correct and easier to use
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 8 May 2012 14:51:50 +0000 (16:51 +0200)
committerKevin Wolf <kwolf@redhat.com>
Thu, 10 May 2012 08:32:12 +0000 (10:32 +0200)
commitdc5a137125d6ac641c566f10e68bf6e1fe31bcb5
tree27ae82c1b297705351bbfdd8852b416e4804e4e3
parent6405875cdd10e531ad3dedaad86ae1ccc4b14f20
qemu-img: make "info" backing file output correct and easier to use

qemu-img info should use the same logic as qemu when printing the
backing file path, or debugging becomes quite tricky.  We can also
simplify the output in case the backing file has an absolute path
or a protocol.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block.c
block.h
qemu-img.c