Crates.io | kvm-ioctls |
lib.rs | kvm-ioctls |
version | 0.22.1 |
created_at | 2019-02-28 13:36:45.596586+00 |
updated_at | 2025-09-25 08:49:50.491376+00 |
description | Safe wrappers over KVM ioctls |
homepage | |
repository | https://github.com/rust-vmm/kvm |
max_upload_size | |
id | 117775 |
size | 356,282 |
The kvm-ioctls crate provides safe wrappers over the KVM API, a set of ioctls used for creating and configuring Virtual Machines (VMs) on Linux. The ioctls are accessible through four structures:
Kvm
- wrappers over system ioctlsVmFd
- wrappers over VM ioctlsVcpuFd
- wrappers over vCPU ioctlsDeviceFd
- wrappers over device ioctlsFor further details check the KVM API as well as the code documentation.
The kvm-ioctls can be used on x86_64, aarch64 and riscv64 (experimental).