Skip to content

Commit b4b0454

Browse files
committed
mkosi: explicitly disable KVM in GHA runs
mkosi detects whether /dev/kvm is available and uses it if it is. But some GHA hosts have it, but it's broken and not supported, so we need to explicitly disable it. (cherry picked from commit c13e6c7)
1 parent bb8f26f commit b4b0454

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/mkosi.yml

+2
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,8 @@ jobs:
100100
[Host]
101101
ExtraSearchPaths=!*
102102
QemuVsock=yes
103+
# Sometimes we run on a host with /dev/kvm, but it is broken, so explicitly disable it
104+
QemuKvm=no
103105
Ephemeral=yes
104106
EOF
105107

0 commit comments

Comments
 (0)