ClangBuiltLinux / boot-utils

Collection of files for booting Linux kernels
26 stars 7 forks source link

boot-qemu.sh: Combine x86 and x86_64 for shared KVM handling #12

Closed nathanchance closed 4 years ago

nathanchance commented 4 years ago

The x86 section unconditionally adds -enable-kvm to the QEMU flags. This won't work for Travis because it does not have KVM support. The x86_64 section handles this already and the only difference between the x86 and x86_64 sections is the QEMU binary name. Combine the sections and handle that so that there is less duplication and everything works properly.

nickdesaulniers commented 4 years ago

cool, thanks!