mirror of
https://github.com/libvirt/libvirt.git
synced 2026-09-03 20:53:04 -05:00
esx: set vmfs fs type for vmfs-based datastores
This way they are correctly represented:
<source>
<format type='vmfs'/>
</source>
... instead of 'auto'.
Signed-off-by: Pino Toscano <ptoscano@redhat.com>
Reviewed-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user