code: def get_vm_info(name):
      '''
      get the information for a VM.
  
      :param name: salt_id name
      :return: dictionary of {'machine': x, 'cwd': y, ...}.
      '''
      try:
          vm_ = __utils__['sdb.sdb_get'](_build_sdb_uri(name), __opts__)
      except KeyError:
          raise SaltInvocationError(
              'Probable sdb driver not found. Check your configuration.')
      if vm_ is None or 'machine' not in vm_:
          raise SaltInvocationError(
              'No Vagrant machine defined for Salt_id {}'.format(name))
      return vmf get_vm_info(name):
      '''
      get the information for a VM.
  
      :param name: salt_id name
      :return: dictionary of {'machine': x, 'cwd': y, ...}.
      '''
      try:
          vm_ = __utils__['sdb.sdb_get'](_build_sdb_uri(name), __opts__)
      except KeyError:
          raise SaltInvocationError(
              'Probable sdb driver not found. Check your configuration.')
      if vm_ is None or 'machine' not in vm_:
          raise SaltInvocationError(
              'No Vagrant machine defined for Salt_id {}'.format(name))
      return vm_
docs: get the information for a VM.
  
      :param name: salt_id name
      :return: dictionary of {'machine': x, 'cwd': y, ...}.