]> Git Repo - qemu.git/commit
block: Relative backing file for image creation
authorMax Reitz <[email protected]>
Wed, 26 Nov 2014 16:20:27 +0000 (17:20 +0100)
committerStefan Hajnoczi <[email protected]>
Tue, 13 Jan 2015 11:47:56 +0000 (11:47 +0000)
commit291680186f7f8856d943793414d1b8df6c562fc4
tree827772017e5d15fd013419c954b52a8fbf820d8f
parent9f07429e8873124c588847b0d499cb32b9410bdd
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 <[email protected]>
Reviewed-by: Eric Blake <[email protected]>
Reviewed-by: Fam Zheng <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
block.c
This page took 0.025303 seconds and 4 git commands to generate.