code: def _find_inaccessible_hdd_files(self):
          
  
          hdds = []
          try:
              properties = yield from self.execute("list", ["hdds"])
          # If VirtualBox is not available we have no inaccessible hdd
          except VirtualBoxError:
              return hdds
  
          flag_inaccessible = False
          for prop in properties:
              try:
                  name, value = prop.split(':', 1)
              except ValueError:
                  continue
              if name.strip() == "State" and value.strip() == "inaccessible":
                  flag_inaccessible = True
              if flag_inaccessible and name.strip() == "Location":
                  hdds.append(value.strip())
                  flag_inaccessible = False
          return reversed(hdds)
docs: Finds inaccessible disk files (to clean up the VirtualBox media manager)