steveej-laptop: enable nested kvm-intel
This commit is contained in:
parent
69cca39dc5
commit
a9e3e47de1
1 changed files with 6 additions and 0 deletions
|
@ -12,6 +12,12 @@
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
|
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
|
||||||
boot.kernelModules = [ "kvm-intel" ];
|
boot.kernelModules = [ "kvm-intel" ];
|
||||||
|
boot.extraModprobeConfig = ''
|
||||||
|
options kvm-intel nested=1
|
||||||
|
options kvm-intel enable_shadow_vmcs=1
|
||||||
|
options kvm-intel enable_apicv=1
|
||||||
|
options kvm-intel ept=1
|
||||||
|
'';
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue