docs: def reset(vm_, **kwargs):
      '''
      Reset a VM by emulating the reset button on a physical machine
  
      :param vm_: domain name
      :param connection: libvirt connection URI, overriding defaults
  
          .. versionadded:: 2019.2.0
      :param username: username to connect with, overriding defaults
  
          .. versionadded:: 2019.2.0
      :param password: password to connect with, overriding defaults
  
          .. versionadded:: 2019.2.0
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' virt.reset <domain>
      '''
      conn = __get_conn(**kwargs)
      dom = _get_domain(conn, vm_)
  
      # reset takes a flag, like reboot, but it is not yet used
      # so we just pass in 0
      # see: http://libvirt.org/html/libvirt-libvirt.html#virDomainReset
      ret = dom.reset(0) == 0
      conn.close()
      return ret