patches and low-level development discussion
 help / color / mirror / code / Atom feed
df1b5012e10dcd7b82470458d5a36826bb367f6c blob 1448 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
 
= 005 Virtual Machine Monitor
:page-parent: Architecture Decision Records
:page-grand_parent: About Spectrum

// SPDX-FileCopyrightText: 2022 Unikie
// SPDX-License-Identifier: GFDL-1.3-no-invariants-or-later OR CC-BY-SA-4.0

== Status

Accepted

== Context

The https://github.com/rust-vmm[rust-vmm] project provides shared components for
building Virtual Machine Monitors (VMMs) in the Rust programming language.
Rust's focus on memory safety makes it a very compelling choice for
Spectrum's VMM.

The extant rust-vmm-based VMMs are https://google.github.io/crosvm/[crosvm]
https://firecracker-microvm.github.io/[Firecracker], and
https://www.cloudhypervisor.org/[Cloud Hypervisor].

Firecracker does not support other virtio-devices than net or block.

In comparision to crosvm, Cloud Hypervisor has a more flexible IPC mechanisms,
better hotplugging support, and a more engaging community as a Linux Foundation
project.  Cloud Hypervisor additionally has more core features - such as
snapshotting, live migration. crosvm supports more devices we will also need.

It will be easier to port devices from crosvm to cloud-hypervisor than to port
core features from cloud-hypervisor to crosvm.

== Decision

Spectrum will use cloud-hypervisor as the primary VMM.

== Consequences

- Some devices need to be ported from crosvm to cloud-hypervisor.

- Spectrum functionality is expected to break and not supported if the
  primary VMM is swapped out.
debug log:

solving df1b501 ...
found df1b501 in https://spectrum-os.org/git/spectrum

Code repositories for project(s) associated with this public inbox

	https://spectrum-os.org/git/crosvm
	https://spectrum-os.org/git/doc
	https://spectrum-os.org/git/mktuntap
	https://spectrum-os.org/git/nixpkgs
	https://spectrum-os.org/git/spectrum
	https://spectrum-os.org/git/ucspi-vsock
	https://spectrum-os.org/git/www

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).