{"id":18440821,"url":"https://github.com/hermit-os/uhyve","last_synced_at":"2026-01-06T17:27:55.629Z","repository":{"id":36973419,"uuid":"140960389","full_name":"hermit-os/uhyve","owner":"hermit-os","description":"A specialized hypervisor for Hermit.","archived":false,"fork":false,"pushed_at":"2025-05-14T12:16:40.000Z","size":2525,"stargazers_count":263,"open_issues_count":46,"forks_count":28,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-05-14T13:34:46.996Z","etag":null,"topics":["hermit","hypervisor","kvm","unikernel"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hermit-os.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-07-14T16:18:16.000Z","updated_at":"2025-05-14T12:16:43.000Z","dependencies_parsed_at":"2023-08-30T16:41:48.218Z","dependency_job_id":"d8cc81db-075f-4808-8293-1bf1dd03dd1c","html_url":"https://github.com/hermit-os/uhyve","commit_stats":null,"previous_names":["hermit-os/uhyve","hermitcore/uhyve"],"tags_count":47,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hermit-os%2Fuhyve","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hermit-os%2Fuhyve/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hermit-os%2Fuhyve/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hermit-os%2Fuhyve/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hermit-os","download_url":"https://codeload.github.com/hermit-os/uhyve/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254179904,"owners_count":22027884,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["hermit","hypervisor","kvm","unikernel"],"created_at":"2024-11-06T06:33:20.463Z","updated_at":"2026-01-06T17:27:55.623Z","avatar_url":"https://github.com/hermit-os.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"\u003cimg width=\"200\" align=\"right\" src=\"img/uhyve.svg\" /\u003e\n\n# Uhyve\n\n[![crates.io](https://img.shields.io/crates/v/uhyve.svg)](https://crates.io/crates/uhyve)\n[![Zulip Badge](https://img.shields.io/badge/chat-hermit-57A37C?logo=zulip)](https://hermit.zulipchat.com/)\n[![DOI](https://zenodo.org/badge/14639288.svg)](https://doi.org/10.5281/zenodo.14639288)\n\nUhyve is a minimal, special-purpose hypervisor for the [Hermit kernel](https://github.com/hermit-os/kernel).\n\n## Installation\n\n1. Install the Rust toolchain. The Rust Foundation provides [installation instructions](https://www.rust-lang.org/tools/install).\n2. Install Uhyve:\n\n```sh\ncargo install --locked uhyve\n```\n\n## Requirements\n\n### Linux\n\nTo check if your system supports virtualization, you can use the following command:\n\n```sh\nif egrep -c '(vmx|svm)' /proc/cpuinfo \u003e /dev/null; then echo \"Virtualization support found\"; fi\n```\n\nUhyve on Linux depends on the virtualization solution [KVM (Kernel-based Virtual Machine)](https://www.linux-kvm.org/page/Main_Page).\nIf the following command gives you some output, you are ready to go!\n\n```sh\nlsmod | grep kvm\n```\n\n\u003e [!NOTE]\n\u003e If the above steps don't work, make sure that you have enabled virtualization in your UEFI/BIOS settings.\n\n### macOS\n\n\u003e [!WARNING]\n\u003e Currently, Uhyve is mainly developed for Linux.\n\u003e The macOS version has not been tested extensively and does not support all features of the Linux version.\n\nYou can install Apple's [Xcode Command Line Tools](https://developer.apple.com/xcode/resources) using the following command:\n\n```sh\nxcode-select --install\n```\n\nAdditionally, the included hypervisor bases on the [Hypervisor Framework](https://developer.apple.com/documentation/hypervisor) depending on OS X Yosemite (10.10) or newer.\n\nTo verify if your processor is able to support this framework, run the following in your Terminal:\n\n```sh\nsysctl kern.hv_support\n```\n\nThe output `kern.hv_support: 1` indicates virtualization support.\n\nStarting with Big Sur, all processes using the Hypervisor API must have the [com.apple.security.hypervisor](https://developer.apple.com/documentation/Hypervisor) entitlement and therefore must be signed.\n\n## Building from source\n\nTo build from source, simply checkout the code and use `cargo build`:\n\n```sh\ngit clone https://github.com/hermit-os/uhyve.git\ncd uhyve\ncargo build --release\n```\n\n### macOS Big Sur: Signing Uhyve\n\n`uhyve` can be self-signed using the following command:\n\n```sh\ncodesign -s - --entitlements app.entitlements --force path_to_uhyve/uhyve\n```\n\nThe file `app.entitlements` must have following content:\n\n```xml\n\u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\n\u003c!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\"\u003e\n\u003cplist version=\"1.0\"\u003e\n\u003cdict\u003e\n    \u003ckey\u003ecom.apple.security.hypervisor\u003c/key\u003e\n    \u003ctrue/\u003e\n\u003c/dict\u003e\n\u003c/plist\u003e\n```\n\nFor further information, please consult [Apple's Documentation](https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_security_hypervisor).\n\n## Usage\n\nAssuming that you have **installed** Uhyve, run the hypervisor to start the unikernel:\n\n```sh\nuhyve /path/to/the/unikernel/binary\n```\n\n\u003e [!NOTE]\n\u003e This repository ships a few binaries that can be used for testing.\n\u003e\n\u003e If you want to compile Hermit binaries yourself (or create your own), take a look at the following repositories:\n\u003e - [hermit-os/hermit-rs](https://github.com/hermit-os/hermit-rs)\n\u003e - [hermit-os/hermit-rs-template](https://github.com/hermit-os/hermit-rs-template)\n\u003e - [hermit-os/hermit-c](https://github.com/hermit-os/hermit-c)\n\n### Configuration\n\nUhyve can be configured using command line arguments and environment variables.\nThis example launches a virtual machine with 4 GiB of memory and 4 cores:\n\n```bash\nuhyve -m 4GiB -c 4 path/to/unikernel\n```\n\nFor more options, the default values, and the corresponding environment variables run:\n\n```bash\nuhyve --help\n```\n\n### Contributing\n\nIf you are interested in contributing to Uhyve, make sure to check out the [Uhyve wiki][uhyve-wiki]!\n\nOur wiki contains instructions on working with Uhyve's source code, including setting up a suitable\ndevelopment environment, as well as profiling, testing and debugging Uhyve.\n\n[uhyve-wiki]: https://github.com/hermit-os/uhyve/wiki\n\n### Known issues\n\n * Uhyve isn't able to pass more than 128 environment variables to the unikernel.\n\n## Licensing\n\nLicensed under either of\n\n * Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)\n * MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)\n\nat your option.\n\nUnless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhermit-os%2Fuhyve","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhermit-os%2Fuhyve","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhermit-os%2Fuhyve/lists"}