]> git.ipfire.org Git - thirdparty/libvirt.git/commit
esx: split datastoreToStoragePoolPtr helper
authorPino Toscano <ptoscano@redhat.com>
Mon, 11 Nov 2019 15:34:34 +0000 (16:34 +0100)
committerPino Toscano <ptoscano@redhat.com>
Fri, 20 Dec 2019 13:31:08 +0000 (14:31 +0100)
commit730a5bcf9fa763837a5a63ea97afa54d53e364ce
treef2383945a40f212b2f2684faa3152329b277e9eb
parent8e681cdab9a0c93208bbd7f1c8e82998356f4019
esx: split datastoreToStoragePoolPtr helper

Move the creation of a virStoragePtr object from the esxVI_ObjectContent
object of a datastore out of esxStoragePoolLookupByName in an own
helper. This way it can be used also in other functions.

Signed-off-by: Pino Toscano <ptoscano@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/esx/esx_storage_backend_vmfs.c