| Crates.io | mshv-ioctls |
| lib.rs | mshv-ioctls |
| version | 0.6.2 |
| created_at | 2024-10-15 08:24:59.792323+00 |
| updated_at | 2025-09-24 22:22:49.434182+00 |
| description | Safe wrappers over MSHV ioctl |
| homepage | |
| repository | https://github.com/rust-vmm/mshv |
| max_upload_size | |
| id | 1409125 |
| size | 201,149 |
Microsoft Hypervisor wrappers. This repository provides two crates which are mshv-bindings and mshv-ioctls. These crates will provide the APIs and definitions to create a VMM on Microsoft Hypervisor along with other rust-vmm crates.
The mshv-{ioctls, bindings} can be used on x86_64 only.
cargo build
Test (/dev/mshv requires root):
sudo -E ~/.cargo/bin/cargo test
Versioning follows semver. As mshv is currently pre-1.0, minor version increments indicate both new features and breaking changes.
Generally follow the guidelines here
mshv-ioctls and mshv-bindings version numbers stay in sync; they are identical.
$ ./scripts/tag_release.py --crate mshv-ioctls
Created tag: mshv-ioctls-v0.6.0
$ ./scripts/tag_release.py --crate mshv-bindings
Created tag: mshv-bindings-v0.6.0
git show mshv-ioctls-v0.6.0
git show mshv-bindings-v0.6.0
git push --tags
cargo login
cargo publish --package mshv-bindings
cargo publish --package mshv-ioctls