summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-09-22 11:11:28 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-09-22 12:23:57 +0000
commitfd47533d721238f5b6dc7e4b557048ec149a1b6d (patch)
tree8ee0f29f1d434d8d6dea1dff6ea4608515f88ba4
parent0e0ff5320138640f4fa8a7ea90fc7473ac385291 (diff)
downloaddefinitions-fd47533d721238f5b6dc7e4b557048ec149a1b6d.tar.gz
Enable XEN guest drivers in x86 bsp
From 'arch/x86/xen/Kconfig' in the kernel tree: config XEN depends on PARAVIRT <snip> depends on X86_64 || (X86_32 && X86_PAE) depends on X86_LOCAL_APIC && X86_TSC help This is the Linux Xen port. Enabling this will allow the kernel to boot in a paravirtualized environment under the Xen hypervisor. Change-Id: I1ad62c3bc2fb8bea06b20e893424a5b1e625df0e
-rw-r--r--strata/bsp-x86_32-generic/linux-x86-32-generic.morph5
-rw-r--r--strata/bsp-x86_64-generic/linux-x86-64-generic.morph4
2 files changed, 9 insertions, 0 deletions
diff --git a/strata/bsp-x86_32-generic/linux-x86-32-generic.morph b/strata/bsp-x86_32-generic/linux-x86-32-generic.morph
index 208eb506..de1a1408 100644
--- a/strata/bsp-x86_32-generic/linux-x86-32-generic.morph
+++ b/strata/bsp-x86_32-generic/linux-x86-32-generic.morph
@@ -264,6 +264,11 @@ configure-commands:
- scripts/config -e SCSI_VIRTIO
- scripts/config -e HYPERVISOR_GUEST
- scripts/config -e PARAVIRT
+- scripts/config -e X86_32
+- scripts/config -e X86_PAE
+- scripts/config -e X86_LOCAL_APIC
+- scripts/config -e X86_TSC
+- scripts/config -e XEN
- yes '' | make oldconfig
build-commands:
- make $MAKEFLAGS
diff --git a/strata/bsp-x86_64-generic/linux-x86-64-generic.morph b/strata/bsp-x86_64-generic/linux-x86-64-generic.morph
index bc8ac7d1..f5da6c88 100644
--- a/strata/bsp-x86_64-generic/linux-x86-64-generic.morph
+++ b/strata/bsp-x86_64-generic/linux-x86-64-generic.morph
@@ -264,6 +264,10 @@ configure-commands:
- scripts/config -e SCSI_VIRTIO
- scripts/config -e HYPERVISOR_GUEST
- scripts/config -e PARAVIRT
+- scripts/config -e X86_64
+- scripts/config -e X86_LOCAL_APIC
+- scripts/config -e X86_TSC
+- scripts/config -e XEN
- yes '' | make oldconfig
build-commands:
- make $MAKEFLAGS