def GetInstanceListForHypervisor(hname, hvparams=None,
                                 get_hv_fn=hypervisor.GetHypervisor):
  try:
    return get_hv_fn(hname).ListInstances(hvparams=hvparams)
  except errors.HypervisorError, err:
    _Fail("Error enumerating instances (hypervisor %s): %s",
          hname, err, exc=True)
Get the list of users and file types to collect for and collect the
dataset/ETHPy150Open ganeti/ganeti/lib/backend.py/GetInstanceListForHypervisor--crossover with--dataset/ETHPy150Open BrightcoveOS/Diamond/src/collectors/filestat/filestat.py/FilestatCollector.process_lsof