[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M69BX123NC683P7MH2Y7B08K":3,"skill-same:01M69BX123NC683P7MH2Y7B08K":77},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":48,"linkOnly":49,"markdownContent":50,"markdownBody":51,"frontMatter":52,"refName":53,"commitSha":54,"skillDirectory":55,"forksCount":56,"repositoryHtmlUrl":57,"repositoryHomepageUrl":58,"ownerHtmlUrl":59,"ownerBlogUrl":60,"ownerDescription":61,"updatedAt":62,"install":63,"resources":76},"01M69BX123NC683P7MH2Y7B08K","vmm-tests","VMM 测试运行与调试","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.","使用 cargo xflowey vmm-tests-run 在本地运行 VMM 测试。在运行或调试 VMM 测试，或需要理解 petri 测试框架、工件处理（artifact handling）或 VMM 测试交叉编译时使用。","microsoft\u002Fopenvmm","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M69BWP49YBS03WTCPVZB5TY8",1972,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fopenvmm\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fvmm-tests\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQJH394GT47X57A9Q8G7HX","测试与质量保障","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47],"vmm","vmm tests","tests","running","test","when","for","load","you","with","understand","cargo","artifact","framework","run","debugging","test framework","2026-11-10 10:12:30",false,"---\nname: vmm-tests\ndescription: \"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.\"\n---\n\n# Running VMM Tests\n\nVMM tests boot full virtual machines and validate behavior. They live in\n`vmm_tests\u002Fvmm_tests\u002Ftests\u002Ftests\u002F` and use the `petri` test framework.\n\n**Always use `cargo xflowey vmm-tests-run`** — never raw `cargo nextest run -p\nvmm_tests`. The xflowey command handles artifact discovery, dependency\nbuilding, and test execution automatically.\n\n## Quick Start\n\n```bash\n# Run a specific test\ncargo xflowey vmm-tests-run --filter \"test(my_test_name)\"\n\n# Run all tests matching a prefix\ncargo xflowey vmm-tests-run --filter \"test(\u002F^boot_\u002F)\"\n\n# Run all tests (rarely needed locally)\ncargo xflowey vmm-tests-run --filter \"all()\"\n```\n\nOmitting `--filter` selects all tests. Use an explicit selection so the\ncommand's scope is clear.\n\n## Output Directory\n\nUsually you don't need `--dir` — it defaults to `target\u002Fvmm_tests`. When\ncross-compiling for Windows from WSL2, `--dir` on the Windows filesystem (e.g.,\n`--dir \u002Fmnt\u002Fd\u002Fvmm_tests`) is required **only** when the selected tests use disk\nimages that need a Windows filesystem: **Hyper-V tests**, or tests using **VHDX\n\u002F dynamic VHD1** images. For everything else (streamed disks, or plain fixed\nVHD1 \u002F VMGS \u002F ISO files), the default WSL-side directory works. `vmm-tests-run`\ndetects this and errors with a clear message if `--dir` is required.\n\n## Filter Syntax\n\nFilters use [nextest filter expressions](https:\u002F\u002Fnexte.st\u002Fdocs\u002Ffiltersets\u002F):\n\n| Expression | Matches |\n|-----------|---------|\n| `test(foo)` | Tests with `foo` in the name |\n| `test(\u002F^boot_\u002F)` | Tests starting with `boot_` (regex) |\n| `test(foo) & !test(hyperv)` | `foo` tests excluding Hyper-V variants |\n| `all()` | Everything |\n\n## Platform Targeting\n\nBy default, tests build for the current host. Use `--target` for\ncross-compilation:\n\n```bash\n# Cross-compile and run Windows tests from WSL2\ncargo xflowey vmm-tests-run --target windows-x64 --filter \"test(my_test_name)\"\n```\n\n| Target | Description |\n|--------|-------------|\n| `windows-x64` | Windows x86_64 (Hyper-V \u002F WHP) |\n| `windows-aarch64` | Windows ARM64 (Hyper-V \u002F WHP) |\n| `linux-x64` | Linux x86_64 |\n\n**Windows from WSL2**: Cross-compilation setup is required first — see\n`Guide\u002Fsrc\u002Fdev_guide\u002Fgetting_started\u002Fcross_compile.md`.\n\n## Artifact Handling (Lazy Fetch)\n\nBy default, disk images (VHDs\u002FISOs) are streamed on demand via HTTP with local\nSQLite caching. This avoids multi-GB upfront downloads.\n\n- `--no-lazy-fetch` — download all images upfront instead of streaming\n- Lazy fetch is automatically disabled for Hyper-V tests (they need local files)\n- `--skip-vhd-prompt` — skip interactive VHD download prompts (useful for\n  automation)\n\n## Viewing Logs\n\nTest output (petri logs, guest serial, etc.) is shown by default on failure.\nFor full OpenVMM tracing, set the `OPENVMM_LOG` environment variable:\n\n```bash\nOPENVMM_LOG=trace cargo xflowey vmm-tests-run --filter \"test(foo)\"\n```\n\n## Other Useful Flags\n\n| Flag | Purpose |\n|------|---------|\n| `--release` | Release build (default: debug) |\n| `--build-only` | Build without running |\n| `--verbose` | Verbose cargo output |\n| `--install-missing-deps` | Auto-install missing system dependencies |\n| `--custom-uefi-firmware \u003CPATH>` | Use a custom UEFI firmware (MSVM.fd) |\n| `--custom-kernel \u003CPATH>` | Use a custom kernel image |\n\nRun `cargo xflowey vmm-tests-run --help` for the full option list.\n\n## Common Pitfalls\n\n- **Don't use `cargo nextest run -p vmm_tests` directly** — artifacts won't\n  be present and tests will fail with missing-artifact errors.\n- **Hyper-V tests** — require Hyper-V Administrators group membership and\n  disable lazy fetch automatically.\n- **CI failures** — use the `openvmm-ci-investigation` skill to diagnose\n  failing VMM tests in CI, not this workflow.\n","# Running VMM Tests\n\nVMM tests boot full virtual machines and validate behavior. They live in\n`vmm_tests\u002Fvmm_tests\u002Ftests\u002Ftests\u002F` and use the `petri` test framework.\n\n**Always use `cargo xflowey vmm-tests-run`** — never raw `cargo nextest run -p\nvmm_tests`. The xflowey command handles artifact discovery, dependency\nbuilding, and test execution automatically.\n\n## Quick Start\n\n```bash\n# Run a specific test\ncargo xflowey vmm-tests-run --filter \"test(my_test_name)\"\n\n# Run all tests matching a prefix\ncargo xflowey vmm-tests-run --filter \"test(\u002F^boot_\u002F)\"\n\n# Run all tests (rarely needed locally)\ncargo xflowey vmm-tests-run --filter \"all()\"\n```\n\nOmitting `--filter` selects all tests. Use an explicit selection so the\ncommand's scope is clear.\n\n## Output Directory\n\nUsually you don't need `--dir` — it defaults to `target\u002Fvmm_tests`. When\ncross-compiling for Windows from WSL2, `--dir` on the Windows filesystem (e.g.,\n`--dir \u002Fmnt\u002Fd\u002Fvmm_tests`) is required **only** when the selected tests use disk\nimages that need a Windows filesystem: **Hyper-V tests**, or tests using **VHDX\n\u002F dynamic VHD1** images. For everything else (streamed disks, or plain fixed\nVHD1 \u002F VMGS \u002F ISO files), the default WSL-side directory works. `vmm-tests-run`\ndetects this and errors with a clear message if `--dir` is required.\n\n## Filter Syntax\n\nFilters use [nextest filter expressions](https:\u002F\u002Fnexte.st\u002Fdocs\u002Ffiltersets\u002F):\n\n| Expression | Matches |\n|-----------|---------|\n| `test(foo)` | Tests with `foo` in the name |\n| `test(\u002F^boot_\u002F)` | Tests starting with `boot_` (regex) |\n| `test(foo) & !test(hyperv)` | `foo` tests excluding Hyper-V variants |\n| `all()` | Everything |\n\n## Platform Targeting\n\nBy default, tests build for the current host. Use `--target` for\ncross-compilation:\n\n```bash\n# Cross-compile and run Windows tests from WSL2\ncargo xflowey vmm-tests-run --target windows-x64 --filter \"test(my_test_name)\"\n```\n\n| Target | Description |\n|--------|-------------|\n| `windows-x64` | Windows x86_64 (Hyper-V \u002F WHP) |\n| `windows-aarch64` | Windows ARM64 (Hyper-V \u002F WHP) |\n| `linux-x64` | Linux x86_64 |\n\n**Windows from WSL2**: Cross-compilation setup is required first — see\n`Guide\u002Fsrc\u002Fdev_guide\u002Fgetting_started\u002Fcross_compile.md`.\n\n## Artifact Handling (Lazy Fetch)\n\nBy default, disk images (VHDs\u002FISOs) are streamed on demand via HTTP with local\nSQLite caching. This avoids multi-GB upfront downloads.\n\n- `--no-lazy-fetch` — download all images upfront instead of streaming\n- Lazy fetch is automatically disabled for Hyper-V tests (they need local files)\n- `--skip-vhd-prompt` — skip interactive VHD download prompts (useful for\n  automation)\n\n## Viewing Logs\n\nTest output (petri logs, guest serial, etc.) is shown by default on failure.\nFor full OpenVMM tracing, set the `OPENVMM_LOG` environment variable:\n\n```bash\nOPENVMM_LOG=trace cargo xflowey vmm-tests-run --filter \"test(foo)\"\n```\n\n## Other Useful Flags\n\n| Flag | Purpose |\n|------|---------|\n| `--release` | Release build (default: debug) |\n| `--build-only` | Build without running |\n| `--verbose` | Verbose cargo output |\n| `--install-missing-deps` | Auto-install missing system dependencies |\n| `--custom-uefi-firmware \u003CPATH>` | Use a custom UEFI firmware (MSVM.fd) |\n| `--custom-kernel \u003CPATH>` | Use a custom kernel image |\n\nRun `cargo xflowey vmm-tests-run --help` for the full option list.\n\n## Common Pitfalls\n\n- **Don't use `cargo nextest run -p vmm_tests` directly** — artifacts won't\n  be present and tests will fail with missing-artifact errors.\n- **Hyper-V tests** — require Hyper-V Administrators group membership and\n  disable lazy fetch automatically.\n- **CI failures** — use the `openvmm-ci-investigation` skill to diagnose\n  failing VMM tests in CI, not this workflow.\n",{"name":5,"description":7},"main","ebcd3302222379403963385f25538e35afcd3222",".github\u002Fskills\u002Fvmm-tests",277,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fopenvmm","http:\u002F\u002Fopenvmm.dev\u002F","https:\u002F\u002Fgithub.com\u002Fmicrosoft","https:\u002F\u002Fopensource.microsoft.com","Open source projects and samples from Microsoft","2026-11-15 02:18:15",{"source":9,"skillName":5,"commands":64,"prompt":74,"zipAvailable":75},[65,68,71],{"tool":66,"command":67},"npx","npx skills add microsoft\u002Fopenvmm --skill vmm-tests",{"tool":69,"command":70},"bunx","bunx skills add microsoft\u002Fopenvmm --skill vmm-tests",{"tool":72,"command":73},"pnpm","pnpm dlx skills add microsoft\u002Fopenvmm --skill vmm-tests","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fopenvmm\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fvmm-tests\u002FSKILL.md",true,[],[78,104,132,160],{"skillNo":79,"name":80,"nameZh":81,"description":82,"descriptionZh":83,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":84,"categories":85,"keywords":90,"publishedAt":48},"01M69BWYZCDJJASP457EK9EPWB","update-mu-msvm","OpenVMM UEFI 固件更新","Update OpenVMM UEFI firmware to the latest published microsoft\u002Fmu_msvm release. Use when updating mu_msvm, bumping the UEFI dependency, refreshing firmware Nix hashes, or preparing the firmware ingestion pull request.","将 OpenVMM UEFI 固件更新至最新发布的 microsoft\u002Fmu_msvm 版本。适用于更新 mu_msvm、升级 UEFI 依赖、刷新固件 Nix 哈希，或准备固件集成拉取请求（pull request）。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fopenvmm\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fupdate-mu-msvm\u002FSKILL.md",[86,87],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":88,"categoryName":89,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C6GWGAE88RACE7B6J4TC8D","虚拟化运行环境管理",[91,92,93,36,94,95,96,97,98,99,100,101,102,10,103],"update mu msvm","update","pull","request","latest","ingestion","dependency","use","firmware","UEFI","release","pull request","nix",{"skillNo":105,"name":106,"nameZh":107,"description":108,"descriptionZh":109,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":110,"categories":111,"keywords":118,"publishedAt":48},"01M69BWX0NY6SCW7H5EMVVC7R1","openvmm-ci-investigation","OpenVMM CI 失败调查","Investigate CI failures on OpenVMM PRs. Load when a PR has failing CI checks, you need to download and analyze test artifacts, or you need to diagnose build, fmt, clippy, or VMM test failures.","调查 OpenVMM PR 上的 CI 失败。当某个 PR 存在失败的 CI 检查、需要下载和分析测试产物，或需要诊断构建、fmt、clippy 或 VMM 测试失败时加载。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fopenvmm\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fopenvmm-ci-investigation\u002FSKILL.md",[112,115],{"categoryNo":113,"categoryName":114,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD4WETX0HM3SM9QKQ15B","SRE 工程师",{"categoryNo":116,"categoryName":117,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BRSRYQ3M8N5063NNQPF2B1","调试与故障排查",[119,120,121,122,39,123,124,125,126,127,31,128,129,38,130,36,131,35],"openvmm ci investigation","ci","investigation","download","clippy","build","analyze","prs","investigate","artifacts","pr","failing","diagnose",{"skillNo":133,"name":134,"nameZh":135,"description":136,"descriptionZh":137,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":138,"categories":139,"keywords":146,"publishedAt":48},"01M69BWVDKTXGYTGQ5AGFBB8AQ","guide-maintenance","OpenVMM 指南维护","Maintain the OpenVMM Guide. Load when: (1) adding, removing, or moving Guide pages, (2) adding new device crates or adding or changing CLI interfaces that need doc coverage, or (3) auditing Guide freshness against code changes.","维护 OpenVMM 指南。在以下情况加载：(1) 添加、删除或移动指南页面；(2) 添加新设备 crate，或添加\u002F更改需要文档覆盖的 CLI 接口；(3) 根据代码变更审计指南的时效性。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fopenvmm\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fguide-maintenance\u002FSKILL.md",[140,143],{"categoryNo":141,"categoryName":142,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BVB0FJ0RR8KXYVFTKEA3XX","技术文档工程师",{"categoryNo":144,"categoryName":145,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C5C7NGT4DWWBE15R6QGEX5","技术文档编写",[147,148,149,150,151,152,153,154,155,156,157,158,38,159,36],"guide maintenance","maintenance","guide","new","cli","code","doc","coverage","doc coverage","device","maintain","pages","changes",{"skillNo":161,"name":162,"nameZh":163,"description":164,"descriptionZh":165,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":166,"categories":167,"keywords":172,"publishedAt":48},"01M69BWS8XZJH7G018FXMXR1QV","fuzzing","OpenVMM 模糊测试调试","Run, optimize, and debug OpenVMM fuzzers. Covers cargo-fuzz targets, crash reproduction, lldb debugging, code coverage analysis, entropy optimization, and multi-target parallel campaigns.","运行、优化和调试 OpenVMM 模糊测试器（fuzzer）。涵盖 cargo-fuzz 目标、崩溃复现、lldb 调试、代码覆盖率分析、熵优化以及多目标并行测试活动。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fopenvmm\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Ffuzzing\u002FSKILL.md",[168,171],{"categoryNo":169,"categoryName":170,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD5WG86P4AQ5GPSSKBFR","测试工程师",{"categoryNo":116,"categoryName":117,"taxonomyType":28,"taxonomyTypeDesc":29},[162,173,174,175,46,45,152,176,177,178,179,154,180,181,182,183,42,184,185,186],"multi","coverage analysis","debug","Optimization","entropy","analysis","parallel","crash","optimize","campaigns","code coverage","targets","lldb","target"]