From 4e6e9c9c595ab384496f33f8900b64654c0b78e9 Mon Sep 17 00:00:00 2001 From: jow Date: Mon, 18 Jun 2012 23:36:50 +0000 Subject: [PATCH] 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32436 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/x86/kvm_guest/config-3.3 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/target/linux/x86/kvm_guest/config-3.3 b/target/linux/x86/kvm_guest/config-3.3 index 4e4ae7352..ad4025bd1 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