[PATCH v3] Enhance kvmconfig

From: Andrey Utkin
Date: Mon May 09 2016 - 11:07:03 EST


From: Andrey Utkin <andrey_utkin@xxxxxxxxxxxx>

"make defconfig kvmconfig" is supposed to end up with usable kernel for
KVM guest. In practice, it won't work for e.g. Hetzner VPS (KVM-based)
unless you add these options.

Signed-off-by: Andrey Utkin <andrey_utkin@xxxxxxxxxxxx>
---
v3: dropped VIRTIO_MMIO stuff as suggested by Paolo Bonzini. Tested.

arch/x86/configs/kvm_guest.config | 3 +++
1 file changed, 3 insertions(+)

diff --git a/arch/x86/configs/kvm_guest.config b/arch/x86/configs/kvm_guest.config
index f9affcc..9906505 100644
--- a/arch/x86/configs/kvm_guest.config
+++ b/arch/x86/configs/kvm_guest.config
@@ -26,3 +26,6 @@ CONFIG_VIRTIO_NET=y
CONFIG_9P_FS=y
CONFIG_NET_9P=y
CONFIG_NET_9P_VIRTIO=y
+CONFIG_SCSI_LOWLEVEL=y
+CONFIG_SCSI_VIRTIO=y
+CONFIG_VIRTIO_INPUT=y
--
2.8.2