mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 17:34:18 +03:00
Add new net filesystem glusterfs
* src/storage_conf.c src/storage_conf.h: adds glusterfs to the list of network storage * libvirt.spec.in: adds the dependency on glusterfs-client
This commit is contained in:
parent
b0e48bfdfe
commit
2562303a45
@ -94,6 +94,8 @@ BuildRequires: util-linux
|
||||
# For showmount in FS driver (netfs discovery)
|
||||
BuildRequires: nfs-utils
|
||||
Requires: nfs-utils
|
||||
# For glusterfs
|
||||
Requires: glusterfs-client >= 2.0.2
|
||||
%endif
|
||||
%if %{with_qemu}
|
||||
# From QEMU RPMs
|
||||
|
@ -68,7 +68,7 @@ VIR_ENUM_IMPL(virStoragePoolFormatFileSystem,
|
||||
|
||||
VIR_ENUM_IMPL(virStoragePoolFormatFileSystemNet,
|
||||
VIR_STORAGE_POOL_NETFS_LAST,
|
||||
"auto", "nfs")
|
||||
"auto", "nfs", "glusterfs")
|
||||
|
||||
VIR_ENUM_IMPL(virStoragePoolFormatDisk,
|
||||
VIR_STORAGE_POOL_DISK_LAST,
|
||||
|
@ -178,7 +178,6 @@ struct _virStoragePoolSourceDeviceExtent {
|
||||
int type; /* free space type */
|
||||
};
|
||||
|
||||
|
||||
/*
|
||||
* Pools can be backed by one or more devices, and some
|
||||
* allow us to track free space on underlying devices.
|
||||
@ -399,6 +398,7 @@ VIR_ENUM_DECL(virStoragePoolFormatFileSystem)
|
||||
enum virStoragePoolFormatFileSystemNet {
|
||||
VIR_STORAGE_POOL_NETFS_AUTO = 0,
|
||||
VIR_STORAGE_POOL_NETFS_NFS,
|
||||
VIR_STORAGE_POOL_NETFS_GLUSTERFS,
|
||||
VIR_STORAGE_POOL_NETFS_LAST,
|
||||
};
|
||||
VIR_ENUM_DECL(virStoragePoolFormatFileSystemNet)
|
||||
|
Loading…
Reference in New Issue
Block a user