docs(qemu): record the in-repo e2e coverage

This commit is contained in:
YueGuobin 2026-10-02 20:57:10 +08:00
parent 4fd7e1aa07
commit 6839b279be
No known key found for this signature in database

View File

@ -138,6 +138,18 @@ Relay run the same script with the flag off: same lifecycle, filter measured
at 109.8 ms (applied by uBridge's bridge — no netem on the anchor, as
expected), no kernel bridge holding the tap.
The repo suite `tests/e2e/test_qemu_kernel_datapath.py` covers the same
ground with a *real* guest: two IOSv routers (a real qcow2 image, linked
clone, the real IOS CLI on the telnet console) — the full kernel lifecycle
(anchors at start, per-link bridge membership, pure-L2 anchors, real ICMP,
netem delay, suspend, capture, link delete/re-create, node stop/start
rewiring, zero residue on project delete) plus the relay negative control,
where the anchor is up and carrying as the relay's AF_PACKET endpoint (QEMU
has no other leg — the TAP is the netdev on the relay too). It needs an L3
IOSv image in the images directory's `QEMU` subfolder; a raw node must also
name `hda_disk_interface` (the default `none` attaches no frontend device
and the VM comes up diskless — the IOSv appliance boots virtio).
## Configuration
```ini