kernel-config: kvm changes

This commit is contained in:
William A. Kennington III 2015-05-15 16:50:20 -07:00
parent 7aae0f3115
commit bca69399a8

View File

@ -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)) ''