blob: 9dfc4f3eee355034ddae29ce162e3fe39913da66 [file] [log] [blame]
#!/bin/bash
# Copyright 2016 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
modify_kernel_command_line() {
# Enable S0ix validation check in kernel
echo "intel_idle.slp_s0_check=1" >> "$1"
# Enable S0ix logging using GSMI
echo "gsmi.s0ix_logging_enable=1" >> "$1"
# Don't disable the ability to run VMs.
echo "disablevmx=off" >> "$1"
}