{"id":49065497,"url":"https://github.com/biswa96/hvtool","last_synced_at":"2026-04-20T04:32:44.064Z","repository":{"id":293949382,"uuid":"981204993","full_name":"Biswa96/hvtool","owner":"Biswa96","description":"Tool to play with Linux virtual machine using Hyper-V Compute System APIs.","archived":false,"fork":false,"pushed_at":"2025-05-18T04:59:22.000Z","size":35,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-18T05:43:57.466Z","etag":null,"topics":["hyper-v","linux-kernel","wsl2"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Biswa96.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-10T15:20:26.000Z","updated_at":"2025-05-18T04:59:25.000Z","dependencies_parsed_at":"2025-05-18T05:54:13.446Z","dependency_job_id":null,"html_url":"https://github.com/Biswa96/hvtool","commit_stats":null,"previous_names":["biswa96/hvtool"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Biswa96/hvtool","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Biswa96%2Fhvtool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Biswa96%2Fhvtool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Biswa96%2Fhvtool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Biswa96%2Fhvtool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Biswa96","download_url":"https://codeload.github.com/Biswa96/hvtool/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Biswa96%2Fhvtool/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32032685,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"online","status_checked_at":"2026-04-20T02:00:06.527Z","response_time":94,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hyper-v","linux-kernel","wsl2"],"created_at":"2026-04-20T04:32:38.656Z","updated_at":"2026-04-20T04:32:44.053Z","avatar_url":"https://github.com/Biswa96.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hvtool\n\nTool to play with Linux virtual machine using Hyper-V Compute System APIs.\n\n## Prerequisites\n\n* Latest Microsoft Windows 10 or above.\n* A Windows user in Hyper-V Administrators group.\n* Latest Visual Studio with cmake.\n* Latest stable Alpine Linux in WSL2.\n* cpio, make, wget and gcc/clang in Alpine Linux WSL2.\n\n## How-to build\n\n* Clone this repository with git submodules.\n* Open Developer Command Prompt from Start menu.\n* Build hvtool.exe: `cmake -S . -B bin \u0026\u0026 cmake --build bin`\n* Build initrd.img in WSL2: `make -C init`\n\n## How-to use\n\n* Add full path of Linux kernel and initrd.img in KernelFilePath and InitRdPath\n  keys in [hvtool.json](./hvtool.json) respectively. e.g. `C:\\\\dir\\\\kernel`\n* Place `hvtool.json` in current working directory.\n* Run `hvtool.exe` to start the VM.\n* Use putty to open console in `\\\\.\\pipe\\hvtool_serial_port1` serial line.\n* Type \"exit\" in the running hvtool.exe console to shutdown the VM.\n\n## Acknowledgments\n\n* [Hyper-V Compute System API Example](https://learn.microsoft.com/en-us/virtualization/api/hcs/reference/tutorial)\n\n## Contribution\n\nAny ideas to improve this project is always welcomed.\n\n## License\n\nThis project is licensed under GPL-3.0 or later. See [LICENSE](./LICENSE.txt).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbiswa96%2Fhvtool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbiswa96%2Fhvtool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbiswa96%2Fhvtool/lists"}