vmm-tests
Skill1.9k starsChanged 2 months agoMITView on GitHub
Run VMM tests locally with cargo xflowey vmm-tests-run. Load when running or debugging VMM tests, or when you need to understand the petri test framework, artifact handling, or cross-compilation for VMM tests.
Trending
Steady talk.about the whole repository
Who's talking about microsoft/openvmm
- A Hacker News story“OpenVMM – A New VMM for Windows and Linux, Written in Rust”Hacker News · Oct 17, 2024 · 171 points
- @timclicks.dev“OpenHCL is a "paravisor" that can provide confidential computing to guest VMs that's hardware enforced. Its …”Bluesky · Nov 26, 2024 · 13 likes
- @github-trending.bsky.social“🎉 Celebrating! 🎉 (500+ new stars) 📦 microsoft / openvmm ⭐ 1,137 (+647) 🗒 Rust Home of OpenVMM and OpenHCL.”Bluesky · Oct 19, 2024 · 2 likes
- @jim-lawless.bsky.social“Microsoft's new cross-platform VM written in Rust: #rustlang github.com/microsoft/op...”Bluesky · Oct 19, 2024 · 2 likes
- @enrichthesoil.bsky.social“É guys github.com/microsoft/op...”Bluesky · Oct 17, 2024 · 2 likes
The biggest 5 of 34 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 34
Talked about on GitHub, Bluesky and Hacker News (34 times).
On GitHub · 27
- Mar 14, 2025doc: clarify the guaranteeds for `Zoned::{since,until}` — BurntSushi/jiff1 reaction
- Oct 2, 2026[FEATURE] 当最后一个实例关闭之后使用wsl --shutdown而不是wsl --terminate — owu/wsl-dashboard0 reactions · 1 comment
- Sep 30, 2026Switch to big PIC — microsoft/openvmm-deps0 reactions · 1 comment
- Sep 17, 2026Config: Fix DisableSha1Pcr configuration to also apply for ARM64 platforms — microsoft/mu_msvm0 reactions
- Sep 15, 2026【从能人智工到人工智能】第零篇——环境初始化 — WslzGmzs/WslzGmzs.github.io0 reactions
22 more on GitHub
- Aug 30, 2026[ENHANCEMENT][DEVICE] Exclusive physical PCIe device claim/release with full native guest access — iteathen/DevBridge0 reactions · 5 comments
- Aug 14, 2026openvmm: add new package — microsoft/azurelinux0 reactions · 14 comments
- Jul 17, 2026MsvmPkg: unify UEFI parameter configuration handoff — microsoft/mu_msvm0 reactions · 4 comments
- Jun 25, 2026Update Microsoft.WSL.DeviceHost to 1.2.39-0 — microsoft/WSL0 reactions
- May 12, 2026virtiofs: improve virtiofs performance by negotiating MAX_PAGES — microsoft/WSL0 reactions · 2 comments
- Apr 13, 2026mu_msvm: add support for hardware emulated pcie — microsoft/mu_msvm0 reactions
- Mar 23, 2026IGVM: Add support for booting non-SNP guests via native x86-64 VP context — cloud-hypervisor/cloud-hypervisor0 reactions · 3 comments
- Mar 17, 2026Enable DNS tunneling for VirtioProxy networking mode — microsoft/WSL0 reactions
- Mar 1, 2026build(deps): bump tracelimit from `fe7a562` to `dd3a530` — mripard/dradis0 reactions
- Jan 22, 2026refactoring for comments from upstream — hgarvison/openvmm0 reactions
- Jan 21, 2026virtiofs: add support for statx syscall — microsoft/WSL0 reactions
- Jan 9, 2026abstracting out the dll parser into its own package to be shared — hgarvison/openvmm0 reactions · 1 comment
- Jan 1, 2026build(deps): bump tracelimit from `79722f9` to `fe7a562` — mripard/dradis0 reactions
- Dec 1, 2025build(deps): bump tracelimit from `4ebc209` to `009339d` — mripard/dradis0 reactions
- Oct 1, 2025build(deps): bump tracelimit from `5ca22cb` to `4ebc209` — mripard/dradis0 reactions
- Sep 1, 2025build(deps): bump tracelimit from `b9a2abc` to `94889ca` — mripard/dradis0 reactions
- Aug 19, 2025build(deps): bump tracelimit from `53956a2` to `b9a2abc` — mripard/dradis0 reactions
- Aug 1, 2025build(deps): bump tracelimit from `01d7560` to `53956a2` — mripard/dradis0 reactions
- Jun 4, 2025structured logging: Add a list of fields to Metadata — rust-lang/log0 reactions · 5 comments
- May 22, 2025Add support for redirected VTL0 interrupts — microsoft/OHCL-Linux-Kernel0 reactions · 11 comments
- Jan 18, 2025OpenVMM- Project Proposal — confidential-computing/governance0 reactions · 2 comments
- Jan 2, 2025Updating tracing-core from 0.1.30 to 0.1.31 results in singificant binary size increase — tokio-rs/tracing0 reactions · 1 comment
On Bluesky · 6
- Nov 26, 2024OpenHCL is a "paravisor" that can provide confidential computing to guest VMs that's hardware enforced. Its virtual machine manager… — @timclicks.dev13 likes and reposts · 1 reply
- Oct 19, 2024🎉 Celebrating! 🎉 (500+ new stars) 📦 microsoft / openvmm ⭐ 1,137 (+647) 🗒 Rust Home of OpenVMM and OpenHCL. — @github-trending.bsky.social2 likes and reposts · 1 reply
- Oct 19, 2024Microsoft's new cross-platform VM written in Rust: #rustlang github.com/microsoft/op... — @jim-lawless.bsky.social2 likes and reposts
- Oct 17, 2024É guys github.com/microsoft/op... — @enrichthesoil.bsky.social2 likes and reposts · 2 replies
- Oct 17, 2024OpenVMM – A New VMM for Windows and Linux, Written in Rust Discussion — @hackernewsbot.bsky.social1 likes and repost
1 more on Bluesky
- Nov 20, 2024Discussion of OpenHCL (github.com/microsoft/op...) Confidential Containers, Confidential Containers in Azure Red Hat OpenShift (ARO) and… — @aaronw.dev0 likes and reposts · 1 reply
On Hacker News · 1
- Oct 17, 2024OpenVMM – A New VMM for Windows and Linux, Written in Rust171 points · 118 comments
In this repository4 other files it gives its agents.
- .github/copilot-instructions.mdCopilot instructions
- fuzzingSkill
- guide-maintenanceSkill
- openvmm-ci-investigationSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 82
Test output (petri logs, guest serial, etc.) is shown by default on failure.
- Very specific: line 100
Run cargo xflowey vmm-tests-run --help for the full option list.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Running VMM Tests
VMM tests boot full virtual machines and validate behavior. They live in
vmm_tests/vmm_tests/tests/tests/ and use the petri test framework.
Always use cargo xflowey vmm-tests-run — never raw cargo nextest run -p
vmm_tests. The xflowey command handles artifact discovery, dependency
building, and test execution automatically.
Quick Start
# Run a specific test
cargo xflowey vmm-tests-run --filter "test(my_test_name)"
# Run all tests matching a prefix
cargo xflowey vmm-tests-run --filter "test(/^boot_/)"
# Run all tests (rarely needed locally)
cargo xflowey vmm-tests-run --filter "all()"Usually you don't need --dir — it defaults to target/vmm_tests. When
cross-compiling for Windows from WSL2, --dir on the Windows filesystem (e.g.,
--dir /mnt/d/vmm_tests) is required only when the selected tests use disk
images that need a Windows filesystem: Hyper-V tests, or tests using VHDX
/ dynamic VHD1 images. For everything else (streamed disks, or plain fixed
VHD1 / VMGS / ISO files), the default WSL-side directory works. vmm-tests-run
detects this and errors with a clear message if --dir is required.
Filter Syntax
Filters use nextest filter expressions:
| Expression | Matches |
test(foo) | Tests with foo in the name |
test(/^boot_/) | Tests starting with boot_ (regex) |
test(foo) & !test(hyperv) | foo tests excluding Hyper-V variants |
all() | Everything |
Platform Targeting
By default, tests build for the current host. Use --target for
cross-compilation:
# Cross-compile and run Windows tests from WSL2
cargo xflowey vmm-tests-run --target windows-x64| Target | Description |
windows-x64 | Windows x86_64 (Hyper-V / WHP) |
windows-aarch64 | Windows ARM64 (Hyper-V / WHP) |
linux-x64 | Linux x86_64 |
Windows from WSL2: The default output directory works for most tests. Add
--dir on the Windows filesystem (e.g., --dir /mnt/d/vmm_tests) only when the
selected tests use disk images requiring a Windows filesystem (Hyper-V tests,
or VHDX / dynamic VHD1 images); vmm-tests-run errors with a clear message when
it's needed. Cross-compilation setup is required first — see
Guide/src/dev_guide/getting_started/cross_compile.md.
Artifact Handling (Lazy Fetch)
By default, disk images (VHDs/ISOs) are streamed on demand via HTTP with local SQLite caching. This avoids multi-GB upfront downloads.
--no-lazy-fetch— download all images upfront instead of streaming- Lazy fetch is automatically disabled for Hyper-V tests (they need local files)
--skip-vhd-prompt— skip interactive VHD download prompts (useful for automation)
Viewing Logs
Test output (petri logs, guest serial, etc.) is shown by default on failure.
For full OpenVMM tracing, set the OPENVMM_LOG environment variable:
OPENVMM_LOG=trace cargo xflowey vmm-tests-run --filter "test(foo)"Other Useful Flags
| Flag | Purpose |
--release | Release build (default: debug) |
--build-only | Build without running |
--verbose | Verbose cargo output |
--install-missing-deps | Auto-install missing system dependencies |
--custom-uefi-firmware <PATH> | Use a custom UEFI firmware (MSVM.fd) |
--custom-kernel <PATH> | Use a custom kernel image |
Run cargo xflowey vmm-tests-run --help for the full option list.
Common Pitfalls
- Don't use
cargo nextest run -p vmm_testsdirectly — artifacts won't be present and tests will fail with missing-artifact errors. - Windows output dir from WSL — when the selected tests need a Windows
filesystem (Hyper-V tests, or VHDX / dynamic VHD1 images),
--dirmust be on/mnt/c/or/mnt/d/, not in the WSL filesystem. Other tests use the default. - Hyper-V tests — require Hyper-V Administrators group membership and disable lazy fetch automatically.
- CI failures — use the
openvmm-ci-investigationskill to diagnose failing VMM tests in CI, not this workflow.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

