mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-21 04:13:12 +00:00
kernel-config: kvm changes
This commit is contained in:
parent
7aae0f3115
commit
bca69399a8
@ -383,10 +383,27 @@ with stdenv.lib;
|
||||
'' else ''
|
||||
PARAVIRT_GUEST? y
|
||||
''}
|
||||
KVM_GUEST? y
|
||||
KVM_APIC_ARCHITECTURE y
|
||||
KVM_ASYNC_PF y
|
||||
${optionalString (versionOlder version "3.7") ''
|
||||
KVM_CLOCK? y
|
||||
''}
|
||||
${optionalString (versionAtLeast version "4.0") ''
|
||||
KVM_COMPAT y
|
||||
''}
|
||||
${optionalString (versionAtLeast version "3.10") ''
|
||||
KVM_DEVICE_ASSIGNMENT y
|
||||
''}
|
||||
${optionalString (versionAtLeast version "4.0") ''
|
||||
KVM_GENERIC_DIRTYLOG_READ_PROTECT y
|
||||
''}
|
||||
${optionalString (!features.grsecurity or true) ''
|
||||
KVM_GUEST y
|
||||
''}
|
||||
KVM_MMIO y
|
||||
${optionalString (versionAtLeast version "3.13") ''
|
||||
KVM_VFIO y
|
||||
''}
|
||||
XEN? y
|
||||
XEN_DOM0? y
|
||||
${optionalString ((versionAtLeast version "3.18") && (features.xen_dom0 or false)) ''
|
||||
|
Loading…
Reference in New Issue
Block a user