mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrey Utkin <andrey_utkin@fastmail.com>
To: linux-kernel@vger.kernel.org, x86@kernel.org
Cc: Thomas Gleixner <tglx@linutronix.de>,
	Ingo Molnar <mingo@redhat.com>, "H. Peter Anvin" <hpa@zytor.com>,
	Borislav Petkov <bp@alien8.de>,
	Andrey Utkin <andrey_utkin@fastmail.com>
Subject: [PATCH v2] Enhance kvmconfig
Date: Sat, 23 Apr 2016 20:26:48 +0300	[thread overview]
Message-ID: <1461432408-6087-1-git-send-email-andrey_utkin@fastmail.com> (raw)

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

             reply	other threads:[~2016-04-23 17:27 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-23 17:26 Andrey Utkin [this message]
2016-04-24 16:30 ` Borislav Petkov
2016-04-24 19:57   ` Andrey Utkin
2016-04-24 20:18     ` Borislav Petkov
2016-04-24 20:35       ` Andrey Utkin
2016-04-24 20:51         ` Borislav Petkov
2016-04-25  0:49           ` Andrey Utkin
2016-04-25 10:52             ` Borislav Petkov
2016-05-09 12:16   ` Paolo Bonzini
2016-05-09 15:13     ` Andrey Utkin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1461432408-6087-1-git-send-email-andrey_utkin@fastmail.com \
    --to=andrey_utkin@fastmail.com \
    --cc=bp@alien8.de \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=tglx@linutronix.de \
    --cc=x86@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®