]> git.ipfire.org Git - thirdparty/libvirt.git/commit
storage: recognize gluster as networked file
authorEric Blake <eblake@redhat.com>
Mon, 4 Nov 2013 21:27:42 +0000 (14:27 -0700)
committerEric Blake <eblake@redhat.com>
Tue, 5 Nov 2013 15:36:43 +0000 (08:36 -0700)
commit0705933b89b8cc69d944ef75e815da6305564ddf
treec03b831f4ac50ecf24f32afaa2c77c9a411721b0
parent1569fa14d8f6b6636cf78d7ee62ae3bd205f5638
storage: recognize gluster as networked file

A qcow2 file with a backing file of 'gluster://host/vol/file' should
not try to look for a directory named './gluster:/' in the file system.

* src/util/virstoragefile.c (virBackingStoreIsFile): Broaden check
to include all protocols.

Signed-off-by: Eric Blake <eblake@redhat.com>
src/util/virstoragefile.c