[libvirt] [PATCH v2 02/12] esx: split datastorePoolType helper