]> git.proxmox.com Git - mirror_qemu.git/commit - block.c
block: Fix bdrv_find_backing_image()
authorMax Reitz <mreitz@redhat.com>
Fri, 1 Feb 2019 19:29:17 +0000 (20:29 +0100)
committerMax Reitz <mreitz@redhat.com>
Mon, 25 Feb 2019 14:11:26 +0000 (15:11 +0100)
commit2d9158ce79f8d9ca45c74bc496b483e95b4a398c
tree63d3e1512f8a5a3e80eecbe468cd4e66705d0f50
parent9f4793d8f2f1abf20dc1d7d55f65ce8df081ca7a
block: Fix bdrv_find_backing_image()

bdrv_find_backing_image() should use bdrv_get_full_backing_filename() or
bdrv_make_absolute_filename() instead of trying to do what those
functions do by itself.

path_combine_deprecated() can now be dropped, so let's do that.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Message-id: 20190201192935.18394-14-mreitz@redhat.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
block.c