]> git.proxmox.com Git - mirror_qemu.git/commit - block/vmdk.c
block/vmdk: Relative backing file for creation
authorMax Reitz <mreitz@redhat.com>
Wed, 26 Nov 2014 16:20:28 +0000 (17:20 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Tue, 13 Jan 2015 11:47:56 +0000 (11:47 +0000)
commit1085daf9411e355ce3bd6d7034e23a8405599889
treef65245f13cf41cd449023dccef3f6a3959f53559
parent291680186f7f8856d943793414d1b8df6c562fc4
block/vmdk: Relative backing file for creation

When a vmdk image is created with a backing file, it is opened to check
whether it is indeed a vmdk file by letting qemu probe it. When doing
so, the backing filename is relative to the image's base directory so it
should be interpreted accordingly.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/vmdk.c