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/metropolis/installer/test/BUILD.bazel b/metropolis/installer/test/BUILD.bazel
index 9971209..468d452 100644
--- a/metropolis/installer/test/BUILD.bazel
+++ b/metropolis/installer/test/BUILD.bazel
@@ -10,14 +10,12 @@
         "//metropolis/installer/test/testos:testos_bundle",
         "//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 )",
         "xInstallerPath": "$(rlocationpath :kernel )",
         "xBundlePath": "$(rlocationpath //metropolis/installer/test/testos:testos_bundle )",
     },
diff --git a/metropolis/installer/test/run_test.go b/metropolis/installer/test/run_test.go
index 7cf6b05..a8db235 100644
--- a/metropolis/installer/test/run_test.go
+++ b/metropolis/installer/test/run_test.go
@@ -48,7 +48,6 @@
 	// with the rules_go runfiles package to the real path.
 	xOvmfCodePath  string
 	xOvmfVarsPath  string
-	xQemuPath      string
 	xInstallerPath string
 	xBundlePath    string
 )
@@ -56,7 +55,7 @@
 func init() {
 	var err error
 	for _, path := range []*string{
-		&xOvmfCodePath, &xOvmfVarsPath, &xQemuPath,
+		&xOvmfCodePath, &xOvmfVarsPath,
 		&xInstallerPath, &xBundlePath,
 	} {
 		*path, err = runfiles.Rlocation(*path)
@@ -93,7 +92,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)
 }
 
 // runQemuWithInstaller runs the Metropolis Installer in a qemu, performing the