From: Jo-Philipp Wich Date: Mon, 18 Jun 2012 23:36:50 +0000 (+0000) Subject: optimize kernel config for kvm_guest X-Git-Tag: reboot~13563 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f06473f8ffb86d513bc17a20f2ba6886411635e0;p=oweals%2Fopenwrt.git 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 SVN-Revision: 32436 --- diff --git a/target/linux/x86/kvm_guest/config-3.3 b/target/linux/x86/kvm_guest/config-3.3 index 4e4ae73529..ad4025bd19 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