Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752082AbcDWR1K (ORCPT ); Sat, 23 Apr 2016 13:27:10 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:34106 "EHLO out2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751901AbcDWR1J (ORCPT ); Sat, 23 Apr 2016 13:27:09 -0400 X-Sasl-enc: azRvLZOAXg+6ckfVYdR/wIS+ZFay5ufeCUDT7cgf+AfK 1461432427 From: Andrey Utkin To: linux-kernel@vger.kernel.org, x86@kernel.org Cc: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Borislav Petkov , Andrey Utkin Subject: [PATCH v2] Enhance kvmconfig Date: Sat, 23 Apr 2016 20:26:48 +0300 Message-Id: <1461432408-6087-1-git-send-email-andrey_utkin@fastmail.com> X-Mailer: git-send-email 2.8.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1136 Lines: 34 Dropped BALLOON entries as suggested by Borislav Petkov. Tested. This was tested only on Hetzner CX10 VPS. I don't know how recent KVM server stuff they use. Tests & reports from anybody else are appreciated. I guess some of added options may be not strictly necessary or make not that lot of sense as enabled by default, feel free to ask me to drop some and test how it works. Thanks. ---8<--- "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 --- arch/x86/configs/kvm_guest.config | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/x86/configs/kvm_guest.config b/arch/x86/configs/kvm_guest.config index f9affcc..9c78145 100644 --- a/arch/x86/configs/kvm_guest.config +++ b/arch/x86/configs/kvm_guest.config @@ -26,3 +26,8 @@ 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 +CONFIG_VIRTIO_MMIO=y +CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES=y -- 2.8.1