vmdk: Use bdrv_dirname() for relative extent paths
commitcdc0dd2586d726f7b549be08a8e073f803cd5dc9
authorMax Reitz <mreitz@redhat.com>
Thu, 15 Aug 2019 15:36:33 +0000 (15 17:36 +0200)
committerMax Reitz <mreitz@redhat.com>
Tue, 3 Sep 2019 12:55:35 +0000 (3 14:55 +0200)
tree2fe6d3ef914b40bb779d20742b99565eb386cdc6
parentf158ffdba62360b221047dee488450f8c49f6a22
vmdk: Use bdrv_dirname() for relative extent paths

This makes iotest 033 pass with e.g. subformat=monolithicFlat.  It also
turns a former error in 059 into success.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-id: 20190815153638.4600-3-mreitz@redhat.com
Reviewed-by: John Snow <jsnow@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
block/vmdk.c
tests/qemu-iotests/059
tests/qemu-iotests/059.out