From 8f55ad43bf7b9178f127eb1945d844066387d5ae Mon Sep 17 00:00:00 2001 From: Serge Hallyn Date: Sun, 29 Oct 2023 22:08:07 -0500 Subject: [PATCH] github ci: set some kvm kernel module flags 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 --- .github/workflows/build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 14fb05f..8223aad 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 \