def _CheckExclusivePvs(pvi_list):
  res = []
  for pvi in pvi_list:
    if len(pvi.lv_list) > 1:
      res.append((pvi.name, pvi.lv_list))
  return res
Check that PVs are not shared among LVs
dataset/ETHPy150Open ganeti/ganeti/lib/backend.py/_CheckExclusivePvs