On Wed, Mar 19, 2014 at 12:53:34PM -0500, mark.doffman(a)codethink.co.uk wrote:
From: Mark Doffman <mark.doffman(a)codethink.co.uk>
Add kernel config parameters needed for baserock to act
as a virtualizaiton host using kvm and libvirt.
linux.morph | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/linux.morph b/linux.morph
index 194bdf2..ea27bea 100644
@@ -53,6 +53,13 @@
"scripts/config -d DEBUG_STACK_TRACE",
"scripts/config -e NFSD",
"scripts/config -e NFSD_V3",
+ "scripts/config -e KVM",
+ "scripts/config -e TUN",
+ "scripts/config -e BRIDGE",
+ "scripts/config -e VHOST_NET",
+ "scripts/config -e NF_NAT",
+ "scripts/config -e NF_NAT_IPV4",
+ "scripts/config -e IP_NF_TARGET_MASQUERADE",
"yes '' | make oldconfig"
Sorry it's taken so long to get a reply to this.
We currently have the issue, that we have many kernel branches, with
different morphologies for the BSP of our various systems.
This is a bit of a maintainance headache, since we have to fiddle with
the morphologies in a lot of places, and it can be awkward to keep the
important things in sync.
Arguably we don't want this change in all our systems, since we have
kernels that don't support KVM.
I believe out plan to fix this situation is to put all the morphologies
in the definitions repository, so we can easily update them all, and we
can reduce the number of kernel branches we need.
However, I think we want this change before we can make that one, this
will bit-rot if we don't merge it, and I'm quite happy for our x86
systems to have KVM built in, so I'll give this a +1.