{"id":39490989,"url":"https://github.com/smallkirby/ymir","last_synced_at":"2026-01-18T05:35:05.438Z","repository":{"id":252782942,"uuid":"840688688","full_name":"smallkirby/ymir","owner":"smallkirby","description":"Ymir: The Type-1 Hypervisor.","archived":false,"fork":false,"pushed_at":"2025-06-18T10:25:44.000Z","size":832,"stargazers_count":47,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-05T18:30:41.592Z","etag":null,"topics":["hypervisor","zig"],"latest_commit_sha":null,"homepage":"https://hv.smallkirby.com","language":"Zig","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/smallkirby.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-10T11:35:16.000Z","updated_at":"2025-10-29T15:12:18.000Z","dependencies_parsed_at":"2024-08-12T13:56:54.275Z","dependency_job_id":"7b3c4e4d-a796-4e94-8462-fa035d24667f","html_url":"https://github.com/smallkirby/ymir","commit_stats":null,"previous_names":["smallkirby/ymir"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/smallkirby/ymir","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smallkirby%2Fymir","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smallkirby%2Fymir/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smallkirby%2Fymir/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smallkirby%2Fymir/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smallkirby","download_url":"https://codeload.github.com/smallkirby/ymir/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smallkirby%2Fymir/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28530925,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T00:39:45.795Z","status":"online","status_checked_at":"2026-01-18T02:00:07.578Z","response_time":98,"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":["hypervisor","zig"],"created_at":"2026-01-18T05:35:05.332Z","updated_at":"2026-01-18T05:35:05.433Z","avatar_url":"https://github.com/smallkirby.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ymir: The Type-1 Hypervisor\n\n![Zig](https://shields.io/badge/Zig-v0%2E14%2E0-blue?logo=zig\u0026color=F7A41D\u0026style=for-the-badge)\n\n![Lint](https://github.com/smallkirby/ymir/actions/workflows/lint.yml/badge.svg)\n![Test](https://github.com/smallkirby/ymir/actions/workflows/test.yml/badge.svg)\n![Boot Linux](https://img.shields.io/travis/com/smallkirby/ymir?style=flat\u0026logo=travis\u0026label=Boot%20Linux)\n\nYmir is an Intel VT-x based baremetal hypervisor written in Zig.\nIt is minimalistic but can boot latest Linux kernel (v6.9).\n\n![Ymir Logo](assets/ymir.png)\n\n## Features\n\n- Supports Intel x64 architecture.\n- Can boot latest Linux kernel with initramfs.\n- Uses EPT (Extended Page Tables) for memory virtualization.\n- Super thin (passthrough) and minimalistic hypervisor.\n- No dependencty. Everything is written from scratch in Zig.\n\n## Limitations / Future Work\n\n- No support of SMP.\n- No support of APIC and other fundamental features.\n- Can boot only Linux kernel with [x86 boot protocol](https://www.kernel.org/doc/html/v6.1/x86/boot.html).\n- Can host only one VM at a time.\n- And many more...\n\n## Requirements\n\nInstall `ovmf` package to run UEFI firmware on QEMU:\n\n```sh\nsudo apt install ovmf\n```\n\n## Development\n\n```sh\nzig build install-samples\nzig build run -Dlog_level=info -Doptimize=ReleaseFast\n```\n\nIf you want to use your own kernel image and initramfs,\nyou can put your kernel image (`bzImage`) and initramfs (`initramfs.cpio`) to `/zig-out/img`.\nIt is tested that Ymir can boot Linux kernel v6.9 that is compiled with `defconfig` of x86-64.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmallkirby%2Fymir","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmallkirby%2Fymir","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmallkirby%2Fymir/lists"}