libvirt/po
Eric Blake 318ea3cb77 storage: initial support for linking with libgfapi
We support gluster volumes in domain XML, so we also ought to
support them as a storage pool.  Besides, a future patch will
want to take advantage of libgfapi to handle the case of a
gluster device holding qcow2 rather than raw storage, and for
that to work, we need a storage backend that can read gluster
storage volume contents.  This sets up the framework.

Note that the new pool is named 'gluster' to match a
<disk type='network'><source protocol='gluster'> image source
already supported in a <domain>; it does NOT match the
<pool type='netfs'><source><target type='glusterfs'>,
since that uses a FUSE mount to a local file name rather than
a network name.

This and subsequent patches have been tested against glusterfs
3.4.1 (available on Fedora 19); there are likely bugs in older
versions that may prevent decent use of gfapi, so this patch
enforces the minimum version tested.  A future patch may lower
the minimum.  On the other hand, I hit at least two bugs in
3.4.1 that will be fixed in 3.5/3.4.2, where it might be worth
raising the minimum: glfs_readdir is nicer to use than
glfs_readdir_r [1], and glfs_fini should only return failure on
an actual failure [2].

[1] http://lists.gnu.org/archive/html/gluster-devel/2013-10/msg00085.html
[2] http://lists.gnu.org/archive/html/gluster-devel/2013-10/msg00086.html

* configure.ac (WITH_STORAGE_GLUSTER): New conditional.
* m4/virt-gluster.m4: new file.
* libvirt.spec.in (BuildRequires): Support gluster in spec file.
* src/conf/storage_conf.h (VIR_STORAGE_POOL_GLUSTER): New pool
type.
* src/conf/storage_conf.c (poolTypeInfo): Treat similar to
sheepdog and rbd.
(virStoragePoolDefFormat): Don't output target for gluster.
* src/storage/storage_backend_gluster.h: New file.
* src/storage/storage_backend_gluster.c: Likewise.
* po/POTFILES.in: Add new file.
* src/storage/storage_backend.c (backends): Register new type.
* src/Makefile.am (STORAGE_DRIVER_GLUSTER_SOURCES): Build new files.
* src/storage/storage_backend.h (_virStorageBackend): Documet
assumption.

Signed-off-by: Eric Blake <eblake@redhat.com>
2013-11-25 11:02:52 -07:00
..
af.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
am.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
ar.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
as.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
be.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
bg.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
bn_IN.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
bn.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
bo.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
bs.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
ca.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
cs.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
cy.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
da.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
de.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
el.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
en_GB.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
es.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
et.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
eu_ES.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
fa.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
fi.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
fr.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
gl.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
gu.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
he.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
hi.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
hr.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
hu.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
hy.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
id.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
is.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
it.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
ja.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
ka.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
kn.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
ko.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
ku.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
libvirt.pot Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
lo.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
lt.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
lv.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
mk.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
ml.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
mr.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
ms.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
my.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
nb.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
nl.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
nn.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
nso.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
or.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
pa.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
pl.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
POTFILES.in storage: initial support for linking with libgfapi 2013-11-25 11:02:52 -07:00
pt_BR.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
pt.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
ro.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
ru.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
si.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
sk.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
sl.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
sq.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
sr.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
sr@latin.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
sv.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
ta.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
te.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
th.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
tr.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
uk.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
ur.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
vi_VN.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
vi.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
zh_CN.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
zh_TW.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00
zu.po Release of libvirt-1.1.4 2013-11-04 12:30:41 +08:00