mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-11 09:17:52 +03: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:
parent
df1a26ebac
commit
e11a186b97
@ -531,6 +531,7 @@ esxStoragePoolGetXMLDesc(virStoragePoolPtr pool, unsigned int flags)
|
|||||||
}
|
}
|
||||||
} else if (esxVI_VmfsDatastoreInfo_DynamicCast(info)) {
|
} else if (esxVI_VmfsDatastoreInfo_DynamicCast(info)) {
|
||||||
def.type = VIR_STORAGE_POOL_FS;
|
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
|
* FIXME: I'm not sure how to represent the source and target of a
|
||||||
* VMFS based datastore in libvirt terms
|
* VMFS based datastore in libvirt terms
|
||||||
|
Loading…
Reference in New Issue
Block a user