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:
parent
f90d7b23a7
commit
42395a191b
@ -521,6 +521,7 @@ with stdenv.lib;
|
|||||||
${optionalString (versionAtLeast version "3.13") ''
|
${optionalString (versionAtLeast version "3.13") ''
|
||||||
KVM_VFIO y
|
KVM_VFIO y
|
||||||
''}
|
''}
|
||||||
|
${optionalString (stdenv.isx86_64 || stdenv.isi686) ''
|
||||||
XEN? y
|
XEN? y
|
||||||
XEN_DOM0? y
|
XEN_DOM0? y
|
||||||
${optionalString ((versionAtLeast version "3.18") && (features.xen_dom0 or false)) ''
|
${optionalString ((versionAtLeast version "3.18") && (features.xen_dom0 or false)) ''
|
||||||
@ -543,6 +544,7 @@ with stdenv.lib;
|
|||||||
XEN_STUB? y
|
XEN_STUB? y
|
||||||
XEN_TMEM? y
|
XEN_TMEM? y
|
||||||
''}
|
''}
|
||||||
|
''}
|
||||||
KSM y
|
KSM y
|
||||||
${optionalString (!stdenv.is64bit) ''
|
${optionalString (!stdenv.is64bit) ''
|
||||||
HIGHMEM64G? y # We need 64 GB (PAE) support for Xen guest support.
|
HIGHMEM64G? y # We need 64 GB (PAE) support for Xen guest support.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user