code: func (k *KernelValidator) getKernelConfig() (map[string]kConfigOption, error) {
  	r, err := k.getKernelConfigReader()
  	if err != nil {
  		return nil, err
  	}
  	return k.parseKernelConfig(r)
  }
docs: // getKernelConfig gets kernel config from kernel config file and convert kernel config to internal type.