summary refs log tree commit diff
path: root/host/rootfs/etc/s6-linux-init/run-image/service/vmm/template/run
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2023-06-25 15:37:17 +0000
committerAlyssa Ross <hi@alyssa.is>2024-02-23 15:28:05 +0100
commit6d686439568acb41d92bceb8ad44276ffe1b3ca9 (patch)
tree7119fe86fe705533e53198c8152fdc245b9052c8 /host/rootfs/etc/s6-linux-init/run-image/service/vmm/template/run
parent4052b2283145e945d22ee74fb29725cf2a01a80a (diff)
downloadspectrum-6d686439568acb41d92bceb8ad44276ffe1b3ca9.tar
spectrum-6d686439568acb41d92bceb8ad44276ffe1b3ca9.tar.gz
spectrum-6d686439568acb41d92bceb8ad44276ffe1b3ca9.tar.bz2
spectrum-6d686439568acb41d92bceb8ad44276ffe1b3ca9.tar.lz
spectrum-6d686439568acb41d92bceb8ad44276ffe1b3ca9.tar.xz
spectrum-6d686439568acb41d92bceb8ad44276ffe1b3ca9.tar.zst
spectrum-6d686439568acb41d92bceb8ad44276ffe1b3ca9.zip
host/rootfs: switch VMs to templated s6 services
Now that VMMs and vhost-user devices are started immediately, we don't
need the complexity of s6-rc for them any more.  VMMs still depend on
the vhost-user sockets, but since those will be available almost
immediately, it's fine to just wait for them in ext-rc-init.

Since we're now using pure s6, we can use s6 instanced services for
these, which cuts down a lot on how much work ext-rc-init's up script
has to do directly, and provides some nice namespacing.

Signed-off-by: Alyssa Ross <hi@alyssa.is>
Diffstat (limited to 'host/rootfs/etc/s6-linux-init/run-image/service/vmm/template/run')
l---------host/rootfs/etc/s6-linux-init/run-image/service/vmm/template/run1
1 files changed, 1 insertions, 0 deletions
diff --git a/host/rootfs/etc/s6-linux-init/run-image/service/vmm/template/run b/host/rootfs/etc/s6-linux-init/run-image/service/vmm/template/run
new file mode 120000
index 0000000..5438b0a
--- /dev/null
+++ b/host/rootfs/etc/s6-linux-init/run-image/service/vmm/template/run
@@ -0,0 +1 @@
+/bin/start-vmm
\ No newline at end of file