]> xenbits.xensource.com Git - libvirt.git/commitdiff
Add CIFS to the list of network file systems
authorMatthias Bolte <matthias.bolte@googlemail.com>
Mon, 17 May 2010 23:24:32 +0000 (01:24 +0200)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Mon, 17 May 2010 23:34:34 +0000 (01:34 +0200)
ESX supports NFS and CIFS. The ESX storage driver will reflect this.

src/conf/storage_conf.c
src/conf/storage_conf.h

index 6218e027448d267a11d25252276e41e5f8fe3a08..c1595aa25b577c82b88ab63d3df369be3bdcd7e6 100644 (file)
@@ -61,7 +61,7 @@ VIR_ENUM_IMPL(virStoragePoolFormatFileSystem,
 
 VIR_ENUM_IMPL(virStoragePoolFormatFileSystemNet,
               VIR_STORAGE_POOL_NETFS_LAST,
-              "auto", "nfs", "glusterfs")
+              "auto", "nfs", "glusterfs", "cifs")
 
 VIR_ENUM_IMPL(virStoragePoolFormatDisk,
               VIR_STORAGE_POOL_DISK_LAST,
index 1c9ba040c559d44187c0b499f40e8ed642549b47..5813489db44dc9d0c855ecf08c986706d6707139 100644 (file)
@@ -405,6 +405,7 @@ enum virStoragePoolFormatFileSystemNet {
     VIR_STORAGE_POOL_NETFS_AUTO = 0,
     VIR_STORAGE_POOL_NETFS_NFS,
     VIR_STORAGE_POOL_NETFS_GLUSTERFS,
+    VIR_STORAGE_POOL_NETFS_CIFS,
     VIR_STORAGE_POOL_NETFS_LAST,
 };
 VIR_ENUM_DECL(virStoragePoolFormatFileSystemNet)