m/t/ktest: allow more memory and extra fssepcs

ktest until now used the QEMU default memory which is only 128MiB which
can be insufficent for tests with more data. Increase that to 1GiB
which is a more reasonable limit. Since ktest doesn't use any filesystem
cache in practice this shouldn't be using much more memory.

Also allow adding additional fsspecs to ktest which get integrated into
the test initramfs.

Change-Id: Ib1a1611cb8e3fdce11a3fac7c0c1ed04097032ea
Reviewed-on: https://review.monogon.dev/c/monogon/+/1788
Tested-by: Jenkins CI
Reviewed-by: Serge Bazanski <serge@monogon.tech>
diff --git a/metropolis/test/ktest/ktest.bzl b/metropolis/test/ktest/ktest.bzl
index 62cbd3a..f0f0eba 100644
--- a/metropolis/test/ktest/ktest.bzl
+++ b/metropolis/test/ktest/ktest.bzl
@@ -26,12 +26,12 @@
     z.update(y)
     return z
 
-def ktest(tester, cmdline = "", files = {}, files_cc = {}):
+def ktest(tester, cmdline = "", files = {}, fsspecs = [], files_cc = {}):
     node_initramfs(
         name = "test_initramfs",
         fsspecs = [
             "//metropolis/node/build:earlydev.fsspec",
-        ],
+        ] + fsspecs,
         files = _dict_union({
             "//metropolis/test/ktest/init": "/init",
             tester: "/tester",