Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752050AbcDWQGR (ORCPT ); Sat, 23 Apr 2016 12:06:17 -0400 Received: from mail.skyhub.de ([78.46.96.112]:46496 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751979AbcDWQGQ (ORCPT ); Sat, 23 Apr 2016 12:06:16 -0400 Date: Sat, 23 Apr 2016 18:05:53 +0200 From: Borislav Petkov To: Andrey Utkin Cc: linux-kernel@vger.kernel.org, x86@kernel.org, Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" Subject: Re: [PATCH] Enhance kvmconfig Message-ID: <20160423160553.GA8568@pd.tnic> References: <1461426709-24094-1-git-send-email-andrey_utkin@fastmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1461426709-24094-1-git-send-email-andrey_utkin@fastmail.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1273 Lines: 37 On Sat, Apr 23, 2016 at 06:51:49PM +0300, Andrey Utkin wrote: > 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 | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/arch/x86/configs/kvm_guest.config b/arch/x86/configs/kvm_guest.config > index f9affcc..ec35f28 100644 > --- a/arch/x86/configs/kvm_guest.config > +++ b/arch/x86/configs/kvm_guest.config > @@ -26,3 +26,11 @@ CONFIG_VIRTIO_NET=y > CONFIG_9P_FS=y > CONFIG_NET_9P=y > CONFIG_NET_9P_VIRTIO=y > +CONFIG_MEMORY_BALLOON=y > +CONFIG_BALLOON_COMPACTION=y So why would a kvm guest need the ballooning thing? My guests work just fine without it. -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply.