kernel-config: Disable Xen on non-x86

There's an upstream build failure on ARM (not directly related to Xen
but rather some other config options it enables). The xen package is
x86_64-only anyways.
This commit is contained in:
Tuomas Tynkkynen 2017-07-13 20:12:50 +03:00
parent f90d7b23a7
commit 42395a191b

View File

@ -521,6 +521,7 @@ with stdenv.lib;
${optionalString (versionAtLeast version "3.13") ''
KVM_VFIO y
''}
${optionalString (stdenv.isx86_64 || stdenv.isi686) ''
XEN? y
XEN_DOM0? y
${optionalString ((versionAtLeast version "3.18") && (features.xen_dom0 or false)) ''
@ -543,6 +544,7 @@ with stdenv.lib;
XEN_STUB? y
XEN_TMEM? y
''}
''}
KSM y
${optionalString (!stdenv.is64bit) ''
HIGHMEM64G? y # We need 64 GB (PAE) support for Xen guest support.