mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
Add a GitHub Actions job that runs the virtio-villain suite against cloud-hypervisor, giving continuous coverage of how the virtio device model responds to guest input that violates the driver side rules of the virtio specification. The suite drives the device model from the guest side with out of spec virtqueue input, malformed descriptor chains, transport register abuse, and device specific requests, then checks that each violation is handled without crashing the device or leaving it wedged. This makes a class of guest triggered failures a signal that shows up on every relevant change rather than found by chance. The job builds cloud-hypervisor with the kvm feature, clones virtio-villain at a pinned tag, builds its initramfs, and runs the tests in short lived VMs, rerunning a wedged batch in isolation so a failure is attributed to the offending test. Results reach the run summary page, and the JUnit report plus per test logs upload as an artifact. The compiled harness, the initramfs, and the fetched guest kernel are cached under the resolved villain commit, so an unchanged pin skips the rebuild. Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com> Assisted-by: Claude:Opus-4.8 Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>