public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3] Enhance kvmconfig
@ 2016-05-09 15:04 Andrey Utkin
  2016-05-09 15:16 ` Paolo Bonzini
  0 siblings, 1 reply; 2+ messages in thread
From: Andrey Utkin @ 2016-05-09 15:04 UTC (permalink / raw)
  To: linux-kernel, x86
  Cc: Paolo Bonzini, Borislav Petkov, Thomas Gleixner, Ingo Molnar,
	H. Peter Anvin, Andrey Utkin

From: Andrey Utkin <andrey_utkin@fastmail.com>

"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@fastmail.com>
---
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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-05-09 15:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-09 15:04 [PATCH v3] Enhance kvmconfig Andrey Utkin
2016-05-09 15:16 ` Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox