forked from mirrors/nixpkgs
Merge branch 'xen_kernel' of git://github.com/ts468/nixpkgs
Add kernel config form dom0 of Xen
This commit is contained in:
commit
830c76d6ba
|
@ -319,6 +319,26 @@ with stdenv.lib;
|
||||||
''}
|
''}
|
||||||
XEN? y
|
XEN? y
|
||||||
XEN_DOM0? y
|
XEN_DOM0? y
|
||||||
|
${optionalString ((versionAtLeast version "3.18") && (features.xen_dom0 or false)) ''
|
||||||
|
PCI_XEN? y
|
||||||
|
HVC_XEN? y
|
||||||
|
HVC_XEN_FRONTEND? y
|
||||||
|
XEN_SYS_HYPERVISOR? y
|
||||||
|
SWIOTLB_XEN? y
|
||||||
|
XEN_BACKEND? y
|
||||||
|
XEN_BALLOON? y
|
||||||
|
XEN_BALLOON_MEMORY_HOTPLUG? y
|
||||||
|
XEN_EFI? y
|
||||||
|
XEN_HAVE_PVMMU? y
|
||||||
|
XEN_MCE_LOG? y
|
||||||
|
XEN_PVH? y
|
||||||
|
XEN_PVHVM? y
|
||||||
|
XEN_SAVE_RESTORE? y
|
||||||
|
XEN_SCRUB_PAGES? y
|
||||||
|
XEN_SELFBALLOONING? y
|
||||||
|
XEN_STUB? 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.
|
||||||
|
|
|
@ -8921,6 +8921,9 @@ let
|
||||||
linuxPackages_self);
|
linuxPackages_self);
|
||||||
in recurseIntoAttrs linuxPackages_self;
|
in recurseIntoAttrs linuxPackages_self;
|
||||||
|
|
||||||
|
# Build a kernel for Xen dom0
|
||||||
|
linuxPackages_latest_xen_dom0 = recurseIntoAttrs (linuxPackagesFor (pkgs.linux_latest.override { features.xen_dom0=true; }) linuxPackages_latest);
|
||||||
|
|
||||||
# grsecurity flavors
|
# grsecurity flavors
|
||||||
# Stable kernels
|
# Stable kernels
|
||||||
linuxPackages_grsec_stable_desktop = grPackage grFlavors.linux_grsec_stable_desktop;
|
linuxPackages_grsec_stable_desktop = grPackage grFlavors.linux_grsec_stable_desktop;
|
||||||
|
|
Loading…
Reference in a new issue