From: Pino Toscano Date: Fri, 15 Nov 2019 11:51:51 +0000 (+0100) Subject: esx: set vmfs fs type for vmfs-based datastores X-Git-Tag: v6.0.0-rc1~132 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e11a186b9712432d8c0791f6cb9b1f40ab926071;p=thirdparty%2Flibvirt.git esx: set vmfs fs type for vmfs-based datastores This way they are correctly represented: ... instead of 'auto'. Signed-off-by: Pino Toscano Reviewed-by: Cole Robinson --- diff --git a/src/esx/esx_storage_backend_vmfs.c b/src/esx/esx_storage_backend_vmfs.c index b890825a40..61b30c3c1d 100644 --- a/src/esx/esx_storage_backend_vmfs.c +++ b/src/esx/esx_storage_backend_vmfs.c @@ -531,6 +531,7 @@ esxStoragePoolGetXMLDesc(virStoragePoolPtr pool, unsigned int flags) } } else if (esxVI_VmfsDatastoreInfo_DynamicCast(info)) { def.type = VIR_STORAGE_POOL_FS; + def.source.format = VIR_STORAGE_POOL_FS_VMFS; /* * FIXME: I'm not sure how to represent the source and target of a * VMFS based datastore in libvirt terms