aboutsummaryrefslogtreecommitdiffstats
path: root/tests/qemu
Commit message (Collapse)AuthorAgeFilesLines
* rigs: the host's names, rig-egress, rigbr0, rigtapN, ...tv17 hours1-2/+2
| | | | | | | | | | | | The host side loses the fc and firecracker, too: rig-egress (the command, also in the guests, and in log lines; /var/lib/rig-egress for the lists, /run/rig-egress for the VMs' choices of list), rig-proxy (the proxy, its user, /run/rig-proxy, and /var/lib/rig-proxy with the CA), rig-firewall, rig-dnsmasq, /run/rig-hosts, /run/rig-addr, the bridge rigbr0 and taps rigtapN, /etc/rig-taps and /etc/rig-vms, config.rig.vms, the nftables tables rigs and rigs-bridge, and egress.lua's RIG_EGRESS_*. The host's own configuration needs the new names, too: its firewall's trusted interface rigbr0, and config.rig.vms.
* rigs: run-rig, not run-firecracker-vmtv17 hours1-2/+2
| | | | | | The run script starts its VMs in Cloud Hypervisor, too, so it's pkgs/run-rig, and run-rig (also its lock files), and the examples' paths are /path/to/rigs.
* rigs: the guest's names, rig.* and rig-*tv17 hours1-2/+2
| | | | | | | | | | | | The project is called rigs now, as it runs its VMs in Cloud Hypervisor, too, not only Firecracker. So the guest's options (rig.secrets, rig.home.required, rig.nix, ...), its kernel command line (rig.vmm, rig.home, rig.xchg, rig.registration, rig.9pPORT), its units (rig-secrets, rig-home, rig-xchg, rig-vmm-exit, rig-drop-caches, rig-rw-store-unshadow), the drives' labels (rig-layer-K, rig-store, rig-home; the run script relabels existing store and home images), and the images (rig-layer-K.img) lose the fc and firecracker. Firecracker itself, the VMM, keeps its name.
* tests: the run script in qemu, and a NixOS VM test of modules/hosttv19 hours3-0/+70
Both were only in the sandbox the project was developed in so far. tests/qemu builds the run script with a qemu stand-in for Firecracker (same kernel, initrd, drives, vsock via vhost-device-vsock; network via qemu's user networking, the guest's port 22 on 127.0.0.1:2222) and a test layer running a script at the end of boot, its output on the console. The run script still takes a tap, so it needs modules/host where it runs. tests/vm-host.nix is a NixOS VM test of modules/host, with network namespaces on veths in place of taps as guests: a VM's static address by name, tcp:// rules over IPv4 and IPv6 and by name, DNS, anti-spoofing, POST /check, the path units and the timer.