From f06473f8ffb86d513bc17a20f2ba6886411635e0 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich 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 SVN-Revision: 32436 --- 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 4e4ae735292..ad4025bd19d 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 -- 2.30.2