This patch series does the following: 1/3: Adds generic utility for producing absolute canonical pathnames, from a string representing a relative or absolute pathname. Base on a patch by Paolo for glib (not yet accepted in glib).
2/3: Generic function to determine a relative path between two file paths, and fixes for block streaming to use this when a base backing file is specified, and it is not an absolute pathname. 3/3: Tests via qemu-io tests, to verify the correct behavior Jeff Cody (3): cutils: Add multiplatform capability to resolve canonical filenames block: fix relative backing filenames for block streaming block: qemu-io tests for block streaming, with relative filenames block.c | 5 + block.h | 1 + block/stream.c | 12 ++- configure | 21 +++ cutils.c | 362 ++++++++++++++++++++++++++++++++++++++++++++ qemu-common.h | 10 ++ tests/qemu-iotests/031 | 75 +++++++++ tests/qemu-iotests/031.out | 16 ++ tests/qemu-iotests/group | 1 + 9 files changed, 502 insertions(+), 1 deletions(-) create mode 100755 tests/qemu-iotests/031 create mode 100644 tests/qemu-iotests/031.out -- 1.7.9.rc2.1.g69204