summaryrefslogtreecommitdiff
path: root/target/linux/x86/kvm_guest
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-06-18 23:36:50 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-06-18 23:36:50 +0000
commitf06473f8ffb86d513bc17a20f2ba6886411635e0 (patch)
treea409b7d09b98ea96e9bbf8846ddd3e6d02afd89b /target/linux/x86/kvm_guest
parentcfe79471d1b7529934802fd0b037d08a2853f63c (diff)
downloadmtk-20170518-f06473f8ffb86d513bc17a20f2ba6886411635e0.zip
mtk-20170518-f06473f8ffb86d513bc17a20f2ba6886411635e0.tar.gz
mtk-20170518-f06473f8ffb86d513bc17a20f2ba6886411635e0.tar.bz2
optimize kernel config for kvm_guest
This patch enables few extra kernel options for the kvm_guest subtarget: - Tickless kernel to avoid timer ticks in idle guests, reduces CPU usage - Enable paravirtualization steal time support Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> SVN-Revision: 32436
Diffstat (limited to 'target/linux/x86/kvm_guest')
-rw-r--r--target/linux/x86/kvm_guest/config-3.34
1 files changed, 3 insertions, 1 deletions
diff --git a/target/linux/x86/kvm_guest/config-3.3 b/target/linux/x86/kvm_guest/config-3.3
index 4e4ae73..ad4025b 100644
--- a/target/linux/x86/kvm_guest/config-3.3
+++ b/target/linux/x86/kvm_guest/config-3.3
@@ -22,6 +22,7 @@ CONFIG_ACPI_PROCESSOR=y
# CONFIG_ACPI_WMI is not set
# CONFIG_ASUS_LAPTOP is not set
CONFIG_CONSOLE_TRANSLATIONS=y
+CONFIG_CPU_IDLE_GOV_MENU=y
CONFIG_DUMMY_CONSOLE=y
# CONFIG_EFI is not set
# CONFIG_HPET is not set
@@ -38,11 +39,12 @@ CONFIG_KVM_GUEST=y
# CONFIG_LGUEST is not set
# CONFIG_LGUEST_GUEST is not set
CONFIG_NLS=y
+CONFIG_NO_HZ=y
CONFIG_PARAVIRT=y
CONFIG_PARAVIRT_CLOCK=y
# CONFIG_PARAVIRT_DEBUG is not set
CONFIG_PARAVIRT_GUEST=y
-# CONFIG_PARAVIRT_TIME_ACCOUNTING is not set
+CONFIG_PARAVIRT_TIME_ACCOUNTING=y
CONFIG_PCI_IOAPIC=y
CONFIG_PCI_LABEL=y
CONFIG_PCI_MMCONFIG=y