treewide: remove qemu build

We aren't bundling it right now and it is fairly out of date. Let's kick
it out until we need it, then reengineer the build.

Change-Id: I5362616922d4b9d3e971868636f3792e33880f7a
Reviewed-on: https://review.monogon.dev/c/monogon/+/3568
Reviewed-by: Lorenz Brun <lorenz@monogon.tech>
Tested-by: Jenkins CI
diff --git a/osbase/bringup/test/BUILD.bazel b/osbase/bringup/test/BUILD.bazel
index 7e010e0..ecb893d 100644
--- a/osbase/bringup/test/BUILD.bazel
+++ b/osbase/bringup/test/BUILD.bazel
@@ -11,14 +11,12 @@
         ":kernel_succeeded",
         "//third_party/edk2:OVMF_CODE.fd",
         "//third_party/edk2:OVMF_VARS.fd",
-        "@qemu//:qemu-x86_64-softmmu",
     ],
     importpath = "source.monogon.dev/metropolis/installer/test",
     visibility = ["//visibility:private"],
     x_defs = {
         "xOvmfVarsPath": "$(rlocationpath //third_party/edk2:OVMF_VARS.fd )",
         "xOvmfCodePath": "$(rlocationpath //third_party/edk2:OVMF_CODE.fd )",
-        "xQemuPath": "$(rlocationpath @qemu//:qemu-x86_64-softmmu )",
         "xSucceedKernelPath": "$(rlocationpath :kernel_succeeded )",
         "xFailedKernelPath": "$(rlocationpath :kernel_failed )",
     },
diff --git a/osbase/bringup/test/run_test.go b/osbase/bringup/test/run_test.go
index 3252c54..87d3309 100644
--- a/osbase/bringup/test/run_test.go
+++ b/osbase/bringup/test/run_test.go
@@ -16,7 +16,6 @@
 	// with the rules_go runfiles package to the real path.
 	xOvmfCodePath      string
 	xOvmfVarsPath      string
-	xQemuPath          string
 	xSucceedKernelPath string
 	xFailedKernelPath  string
 )
@@ -24,7 +23,7 @@
 func init() {
 	var err error
 	for _, path := range []*string{
-		&xOvmfCodePath, &xOvmfVarsPath, &xQemuPath,
+		&xOvmfCodePath, &xOvmfVarsPath,
 		&xSucceedKernelPath, &xFailedKernelPath,
 	} {
 		*path, err = runfiles.Rlocation(*path)
@@ -53,7 +52,7 @@
 	}
 	qemuArgs := append(defaultArgs, args...)
 	pf := cmd.TerminateIfFound(expectedOutput, nil)
-	return cmd.RunCommand(ctx, xQemuPath, qemuArgs, pf)
+	return cmd.RunCommand(ctx, "qemu-system-x86_64", qemuArgs, pf)
 }
 
 func TestBringupSuccess(t *testing.T) {