#
# kvm_stat requires CONFIG_DEBUG_FS
#
if [[ "$KVM_DIAGTOOLS" == "y" ]]; then
  message "${MESSAGE_COLOR}Checking for CONFIG_DEBUG_FS in your kernel...${DEFAULT_COLOR}" &&
  local _KVM_DEBUG_FS=$(get_kernel_config CONFIG_DEBUG_FS) &&

  if [[ "$_KVM_DEBUG_FS" != "y" ]]; then
    message "${PROBLEM_COLOR}You don't have CONFIG_DEBUG_FS" \
            "enabled in your kernel configuration, cannot build" \
            "${SPELL_COLOR}$SPELL${MESSAGE_COLOR}.${DEFAULT_COLOR}" &&
    return 1
  fi
fi &&
default_pre_build #&&
