Skip to contentSkip to conversation

powerpc: add KVM as module to defconfigs

PATCH New Michael Neuling 1 participant 1 message Nov 8, 2011 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 powerpc: add KVM as module to defconfigs

Add HV mode KVM to Book3 server 64bit defconfigs as a module.

Doesn't add much to the size:
text data bss dec hex filename
8244109 4686767 994000 13924876 d47a0c vmlinux.vanilla
8256092 4691607 994128 13941827 d4bc43 vmlinux.kvm

This should enable more testing of this configuration.

---
 arch/powerpc/configs/ppc64_defconfig   |    4 ++++
 arch/powerpc/configs/pseries_defconfig |    4 ++++
 2 files changed, 8 insertions(+)
arch/powerpc/configs/ppc64_defconfig +4 -0
Index: linux-ozlabs/arch/powerpc/configs/ppc64_defconfig
===================================================================
@@ -485,3 +485,7 @@ CONFIG_CRYPTO_TWOFISH=m
 CONFIG_CRYPTO_LZO=m
 # CONFIG_CRYPTO_ANSI_CPRNG is not set
 # CONFIG_CRYPTO_HW is not set
+CONFIG_VIRTUALIZATION=y
+CONFIG_KVM_BOOK3S_64=m
+CONFIG_KVM_BOOK3S_64_HV=y
+CONFIG_VHOST_NET=m
arch/powerpc/configs/pseries_defconfig +4 -0
Index: linux-ozlabs/arch/powerpc/configs/pseries_defconfig
===================================================================
@@ -362,3 +362,7 @@ CONFIG_CRYPTO_TWOFISH=m
 CONFIG_CRYPTO_LZO=m
 # CONFIG_CRYPTO_ANSI_CPRNG is not set
 # CONFIG_CRYPTO_HW is not set
+CONFIG_VIRTUALIZATION=y
+CONFIG_KVM_BOOK3S_64=m
+CONFIG_KVM_BOOK3S_64_HV=y
+CONFIG_VHOST_NET=m