block: Do not copy exact_filename from format file
commitfb695c74aa43c9bdc67b3079cddec1cc8e1b913e
authorMax Reitz <mreitz@redhat.com>
Fri, 1 Feb 2019 19:29:29 +0000 (1 20:29 +0100)
committerMax Reitz <mreitz@redhat.com>
Mon, 25 Feb 2019 14:11:27 +0000 (25 15:11 +0100)
tree1fa6feb81854cbbc59a1745c224a2a549d6dce7f
parent998b3a1e5a2dd23bf89a853e15fabdaa8d788a72
block: Do not copy exact_filename from format file

If a format BDS's file BDS is in turn a format BDS, we cannot simply use
the same filename, because when opening a BDS tree based on a filename
alone, qemu will create only one format node on top of one protocol node
(disregarding a potential backing file).

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