]> xenbits.xensource.com Git - libvirt.git/commit
storage: Store relative path only for relatively backed storage
authorPeter Krempa <pkrempa@redhat.com>
Tue, 27 May 2014 08:05:57 +0000 (10:05 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 25 Jun 2014 07:54:42 +0000 (09:54 +0200)
commit7ba6a6f973624e41deda544dd73bfd467e74a06e
treea4e75e8b2ef51de3772c502dbba9d0ff8d52b875
parent89bb95059a84743b19c113bb82b6effe86e67917
storage: Store relative path only for relatively backed storage

Due to various refactors and compatibility with the virstoragetest the
relPath field of the virStorageSource structure was always filled either
with the relative name or the full path in case of absolutely backed
storage. Return its original purpose to store only the relative name of
the disk if it is backed relatively and tweak the tests.
src/storage/storage_driver.c
src/util/virstoragefile.c
src/util/virstoragefile.h
tests/virstoragetest.c