diff options
author | Max Reitz <mreitz@redhat.com> | 2014-11-26 17:20:27 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2015-01-13 11:47:56 +0000 |
commit | 291680186f7f8856d943793414d1b8df6c562fc4 (patch) | |
tree | 827772017e5d15fd013419c954b52a8fbf820d8f /target-unicore32 | |
parent | 9f07429e8873124c588847b0d499cb32b9410bdd (diff) |
block: Relative backing file for image creation
Relative backing filenames are always relative to the backed image's
directory; the same applies to image creation. Therefore, if the backing
file has to be opened for determining its size (in case the size has not
been explicitly specified) its filename should be interpreted relative
to the new image's base directory and not relative to qemu's working
directory.
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>
Diffstat (limited to 'target-unicore32')
0 files changed, 0 insertions, 0 deletions