]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Allow relative path for qemu backing file
authorJesse Cook <code.crashenx@gmail.com>
Mon, 28 Mar 2011 01:30:14 +0000 (20:30 -0500)
committerEric Blake <eblake@redhat.com>
Mon, 4 Apr 2011 22:37:58 +0000 (16:37 -0600)
commit33da939b0f3bfbbfac8a301248d6943e7c459d68
tree46498790ae32f7a55946585d360e2c0c3d7d7961
parent0d166c6b7ca0e4963163daaa2e280ff64cf385bf
Allow relative path for qemu backing file

This patch enables the relative backing file path support provided by
qemu-img create.

If a relative path is specified for the backing file, it is converted
to an absolute path using the storage pool path. The absolute path is
used to verify that the backing file exists. If the backing file exists,
the relative path is allowed and will be provided to qemu-img create.
AUTHORS
src/storage/storage_backend.c