mirror of https://gitee.com/openkylin/libvirt.git
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:
parent
df1a26ebac
commit
e11a186b97
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue