{"id":13440159,"url":"https://github.com/saurvs/hypervisor-rs","last_synced_at":"2025-12-26T10:03:29.561Z","repository":{"id":62440393,"uuid":"54723218","full_name":"saurvs/hypervisor-rs","owner":"saurvs","description":"Rust API to the OS X Hypervisor framework for hardware-accelerated virtualization","archived":false,"fork":false,"pushed_at":"2019-12-23T10:18:47.000Z","size":1064,"stargazers_count":64,"open_issues_count":2,"forks_count":9,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-28T08:43:26.136Z","etag":null,"topics":["virtualization"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/saurvs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-03-25T14:18:00.000Z","updated_at":"2024-12-31T15:04:50.000Z","dependencies_parsed_at":"2022-11-01T23:18:10.627Z","dependency_job_id":null,"html_url":"https://github.com/saurvs/hypervisor-rs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saurvs%2Fhypervisor-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saurvs%2Fhypervisor-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saurvs%2Fhypervisor-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saurvs%2Fhypervisor-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/saurvs","download_url":"https://codeload.github.com/saurvs/hypervisor-rs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244585865,"owners_count":20476825,"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":["virtualization"],"created_at":"2024-07-31T03:01:20.302Z","updated_at":"2025-12-26T10:03:29.556Z","avatar_url":"https://github.com/saurvs.png","language":"Rust","readme":"# hypervisor-rs [![](http://meritbadge.herokuapp.com/hypervisor)](https://crates.io/crates/hypervisor) [![](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/saurvs/hypervisor-rs/blob/master/LICENSE.md)\n\n`hypervisor` is a Rust library that taps into functionality that enables hardware-accelerated execution of\nvirtual machines on OS X.\n\nIt binds to the [Hypervisor](https://developer.apple.com/library/mac/documentation/Hypervisor/Reference/Hypervisor_Reference/index.html#//apple_ref/doc/uid/TP40016756) framework on OS X, and exposes a safe Rust\ninterface through the `hypervisor` module, and an unsafe foreign function\ninterface through the `hypervisor::ffi` module.\n\n[Documentation](https://saurvs.github.io/hypervisor-rs/)\n\n## Prerequisites\n\nTo use this library, you need\n\n* OS X Yosemite (10.10), or newer\n\n* an Intel processor with the VT-x feature set that includes Extended Page\nTables (EPT) and the Unrestricted Mode. To verify this, run and expect the\nfollowing in your Terminal:\n  ```shell\n  $ sysctl kern.hv_support\n  kern.hv_support: 1\n  ```\n\n## Status\n- [x] Accessing x86 registers\n- [x] Accessing model-specific registers (MSRs)\n- [x] Mapping guest physical memory segments into guest physical address space\n- [x] Virtual CPUs\n  - [x] Executing and interrupting\n  - [x] Force flushing cached state\n  - [x] Invalidating translation lookaside buffer (TLB)\n  - [x] Accessing floating point (FP) and SIMD state\n  - [x] Obtaining cumulative execution time\n  - [x] Synchronizing guest timestamp-counters (TSC)\n- [x] Accessing fields of Virtual Machine Control Structures (VMCS)\n","funding_links":[],"categories":["Libraries","库 Libraries","库","Rust"],"sub_categories":["Virtualization","虚拟化 Virtualization","虚拟化"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaurvs%2Fhypervisor-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaurvs%2Fhypervisor-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaurvs%2Fhypervisor-rs/lists"}