diff options
| author | tv <tv@krebsco.de> | 2026-11-23 19:44:15 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-25 12:22:23 +0000 |
| commit | 312605171f6e3ef59a0f7c0cffc69e98c346a60c (patch) | |
| tree | 0128bddfcd0500f9a553fa68452415df75203ba9 /tests | |
| parent | 18b1f50456a1105c6eecb8bf3c7a42ebbe9dd4cd (diff) | |
run-firecracker-vm: --vmm cloud-hypervisor
Firecracker was the only hypervisor, with its limit of about 19 devices
(virtio-mmio, an interrupt each), no hot-plugging, and no virtio-fs.
Now the run script can also start the same build in Cloud Hypervisor
(--vmm cloud-hypervisor; Firecracker stays the default), translating
the Firecracker configuration it makes anyway into Cloud Hypervisor's
options: kernel (the same vmlinux, which it boots via PVH), initrd and
command line, CPUs and memory, the drives (read-only for the images),
the tap and MAC, vsock. The drives are image_type=raw: without it,
Cloud Hypervisor guesses, and then refuses writes to sector 0, which
wrecks ext4 (the rw-store, home). Its vsock works like Firecracker's
(a guest's connection to port PORT goes to the socket SOCKET_PORT), so
the 9P servers stay as they are, and the guest finds its drives by
label, so their order on PCI doesn't matter. Unlike Firecracker, it
restarts the guest on reboot (a reset), so the way out there is
poweroff. Its options are KEY=VALUE,... lists, so it takes no commas
in --store and --home.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions
