aboutsummaryrefslogtreecommitdiffstats
path: root/tests/qemu/default.nix
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* tests: the run script in qemu, and a NixOS VM test of modules/hosttv20 hours1-0/+25
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.