- Support for setting vcpu
kvm_immediate_exit
flag - Support for the vcpu ioctl
KVM_GET_CPUID2
- Support for the vcpu ioctl
KVM_GET_MP_STATE
- Support for the vcpu ioctl
KVM_SET_MP_STATE
- Support for the vcpu ioctl
KVM_GET_VCPU_EVENTS
- Support for the vcpu ioctl
KVM_SET_VCPU_EVENTS
- Support for the vcpu ioctl
KVM_GET_DEBUGREGS
- Support for the vcpu ioctl
KVM_SET_DEBUGREGS
- Support for the vcpu ioctl
KVM_GET_XSAVE
- Support for the vcpu ioctl
KVM_SET_XSAVE
- Support for the vcpu ioctl
KVM_GET_XCRS
- Support for the vcpu ioctl
KVM_SET_XCRS
- Support for the vm ioctl
KVM_GET_IRQCHIP
- Support for the vm ioctl
KVM_SET_IRQCHIP
- Support for the vm ioctl
KVM_GET_CLOCK
- Support for the vm ioctl
KVM_SET_CLOCK
- Support for the vm ioctl
KVM_GET_PIT2
- Support for the vm ioctl
KVM_SET_PIT2
- Support for the vcpu ioctl
KVM_GET_ONE_REG
- Function offering support for
KVM_SET_MSRS
also returns the number of MSR entries successfully written.
- Add support for
KVM_ENABLE_CAP
. - Add support for
KVM_SIGNAL_MSI
.
- Fix bug in KvmRunWrapper. The memory for kvm_run struct was not unmapped after the KvmRunWrapper object got out of scope.
- Return proper value when receiving the EOI KVM exit.
- Mark set_user_memory_region as unsafe.
First release of the kvm-ioctls crate.
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 ioctls
- VmFd - wrappers over VM ioctls
- VcpuFd - wrappers over vCPU ioctls
- DeviceFd - wrappers over device ioctls
The kvm-ioctls can be used on x86_64 and aarch64. Right now the aarch64 support is considered experimental.