diff options
author | Alyssa Ross <hi@alyssa.is> | 2022-02-19 15:58:07 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2022-02-19 15:58:07 +0000 |
commit | 58204aedb6ec5a2e4e7bb79cca33eef1d672f476 (patch) | |
tree | c9dfaaa2f38e7e5f841be57cea95c96bd0623a3e /host/start-vm/ch.rs | |
parent | 50917fa16aa1984295be080d195792ef8b660b2a (diff) | |
download | spectrum-58204aedb6ec5a2e4e7bb79cca33eef1d672f476.tar spectrum-58204aedb6ec5a2e4e7bb79cca33eef1d672f476.tar.gz spectrum-58204aedb6ec5a2e4e7bb79cca33eef1d672f476.tar.bz2 spectrum-58204aedb6ec5a2e4e7bb79cca33eef1d672f476.tar.lz spectrum-58204aedb6ec5a2e4e7bb79cca33eef1d672f476.tar.xz spectrum-58204aedb6ec5a2e4e7bb79cca33eef1d672f476.tar.zst spectrum-58204aedb6ec5a2e4e7bb79cca33eef1d672f476.zip |
host/rootfs: don't autostart VM consoles
Aside from the experience benefit of not popping the netvm console open when it's not required, this also simplifies the implementation a lot, because it means each VM only has to be a single service.
Diffstat (limited to 'host/start-vm/ch.rs')
-rw-r--r-- | host/start-vm/ch.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/start-vm/ch.rs b/host/start-vm/ch.rs index 04da710..7cba50e 100644 --- a/host/start-vm/ch.rs +++ b/host/start-vm/ch.rs @@ -16,7 +16,7 @@ const EPROTO: NonZeroI32 = unsafe { NonZeroI32::new_unchecked(71) }; fn command(vm_name: &OsStr, s: impl AsRef<OsStr>) -> Command { let mut api_socket_path = OsString::from("/run/service/ext-"); api_socket_path.push(vm_name); - api_socket_path.push("-vmm/env/cloud-hypervisor.sock"); + api_socket_path.push("/env/cloud-hypervisor.sock"); let mut command = Command::new("ch-remote"); command.stdin(Stdio::null()); |