code: def pool_lookup(hypervisor, disk_path):
      
      try:
          volume = hypervisor.storageVolLookupByPath(disk_path)
  
          return volume.storagePoolLookupByVolume()
      except libvirt.libvirtError:
          return None
docs: Storage pool lookup.
  
      Retrieves the the virStoragepool which contains the disk at the given path.