Booting under UEFI can expose potential issues that will impact real
hardware, like CFI failures. Add support for booting under UEFI with
arm64 and x86_64 by searching for firmare on the user's system, copying
and modifying it as necessary, then passing it along to QEMU.
This is deliberately a separate option that is off by default, as I am
not sure we can turn this on by default without regressing older trees
or toolchains. It has only been tested with tip of tree Linux and LLVM.
I just pushed a small change to fix a flake8 warning, which I plan to enable in a future pull request. I will leave this open until Monday afternoon then merge it.
Booting under UEFI can expose potential issues that will impact real hardware, like CFI failures. Add support for booting under UEFI with arm64 and x86_64 by searching for firmare on the user's system, copying and modifying it as necessary, then passing it along to QEMU.
This is deliberately a separate option that is off by default, as I am not sure we can turn this on by default without regressing older trees or toolchains. It has only been tested with tip of tree Linux and LLVM.
Closes: https://github.com/ClangBuiltLinux/boot-utils/issues/14