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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
//! Environment-specific components a composer supplies to the sandbox stack.
//!
//! The manager runs in more than one environment — the ArcBox System VM
//! with its known busybox userland, or a stock distro on a bare-metal
//! node — and every part that differs is supplied here rather than built
//! in the code. There is no default and no member is optional:
//! [`ComputerManager::new`](crate::ComputerManager::new) builds none of the
//! four, so what VMM its Computers run on is the composer's decision and
//! never a fallback taken here (vm-stack-redesign R3, charter D4).
//!
//! The System VM's composition is `arcbox_agent::sandbox::node_environment`
//! — the Firecracker driver from the config's `[firecracker]` section, the
//! TAP network from its `[network]` section, the `arcbox-vm-proto` agent
//! client, and a copy-on-write rootfs manager over busybox.
use Arc;
use VmDriver;
use GuestNetwork;
use crateGuestAgentFactory;
use crateCowManager;
/// What differs between hosts of the sandbox stack.