Add our own qboot firmware
My qboot fix (https://github.com/bonzini/qboot/pull/28) has (contrary to what I assumed based on the tests passing)
not made it into QEMU yet, so the firmware shipped by it is still affected. This fix not being there silently broke our ktests
since the return code processing can in weird conditions wrongly succeed. The fix for this will be another revision, same with
code that actually uses this. This is just the build.
Test Plan: Build test: `bazel build @com_github_bonzini_qboot//:qboot-bin`. Also tested in subsequent code depending on it.
X-Origin-Diff: phab/D569
GitOrigin-RevId: b693220768bc8e39be21fd90eedc7ab79e9c4bcf
diff --git a/WORKSPACE b/WORKSPACE
index b002958..6495590 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -187,3 +187,12 @@
strip_prefix = "lz4-1.9.2",
urls = ["https://github.com/lz4/lz4/archive/v1.9.2.tar.gz"],
)
+
+# qboot bootloader for MicroVMs
+http_archive(
+ name = "com_github_bonzini_qboot",
+ build_file = "//third_party/qboot:qboot.bzl",
+ sha256 = "a643b2486fbee57b969659d408984094ca9afa1a048317dd3f5d3022e47213e8",
+ strip_prefix = "qboot-a5300c4949b8d4de2d34bedfaed66793f48ec948",
+ urls = ["https://github.com/bonzini/qboot/archive/a5300c4949b8d4de2d34bedfaed66793f48ec948.tar.gz"],
+)