Skip to content

Commit

Permalink
github ci: set some kvm kernel module flags
Browse files Browse the repository at this point in the history
disable tdp_mmu in kvm
enale dump_invalid_vmcs=Y in kvm_intel

This appears to be causing (nested) vm crashes

Signed-off-by: Serge Hallyn <[email protected]>
  • Loading branch information
hallyn committed Oct 30, 2023
1 parent dc1ff4f commit 8f55ad4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
go-version: 1.21
- name: install dependencies
run: |
echo "options kvm tdp_mmu=N" | sudo tee /etc/modprobe.d/kvm-disable-tdp-mmu.conf
echo "options kvm_intel dump_invalid_vmcs=Y" | sudo tee /etc/modprobe.d/kvm-enable-dump_invalid_vmcs.conf
sudo apt-get update
sudo add-apt-repository -y ppa:puzzleos/dev
sudo apt-get -y install \
Expand Down

0 comments on commit 8f55ad4

Please sign in to comment.