Skip to content

Releases: rust-vmm/kvm

kvm-ioctls-v0.21.0

07 Mar 10:08
Compare
Choose a tag to compare

Changelog

v0.21.0

Added

  • [#310]: Added support for KVM_CAP_XSAVE2 and the KVM_GET_XSAVE2 ioctl.

Changed

  • [#310]: Changed set_xsave() unsafe because the C kvm_xsave struct was extended to have a flexible array member (FAM) in the end in Linux 5.16 and KVM_SET_XSAVE may copy data beyond the traditional size (i.e. 4096 bytes). If any features are enabled dynamically on Linux 5.16+, it is recommended to use set_xsave2() instead.

kvm-bindings-v0.11.1

07 Mar 15:48
Compare
Choose a tag to compare

Changelog

[0.11.1]

Added

  • Implemented Serialize / Deserialize for kvm_xsave2.

kvm-ioctls-v0.20.0

30 Jan 07:10
Compare
Choose a tag to compare

Changelog

v0.20.0

Added

  • [#288]: Introduce Cap::GuestMemfd, Cap::MemoryAttributes and Cap::UserMemory2 capabilities enum variants for use with VmFd::check_extension.
  • [#288]: Introduce VmFd::check_extension_raw and VmFd::check_extension_int to allow KVM_CHECK_EXTENSION to return integer.

Changed

  • [#305]: Updated kvm-bindings to 0.11.0.

Fixed

  • [#298]: Fixed incorrect usage of ioctl_wit_ref in the create_device method. Replace it with ioctl_wit_mut_ref as the passed parameter may be mutated by the ioctl.

kvm-bindings-v0.11.0

30 Jan 07:12
Compare
Choose a tag to compare

Changelog

[0.11.0]

Changed

  • Updated KVM_MAX_CPUID_ENTRIES to 256.

kvm-ioctls-v0.19.1

10 Dec 13:49
Compare
Choose a tag to compare

Changelog

v0.19.1

Fixed

  • [#298]: Fixed incorrect usage of ioctl_wit_ref in the create_device method. Replace it with ioctl_wit_mut_ref as the passed parameter may be mutated by the ioctl.

kvm-ioctls-v0.19.0

23 Oct 08:58
Compare
Choose a tag to compare

Changelog

v0.19.0

Added

  • [#275]: Introduce riscv64 ioctls.

Removed

  • [#289]: Drop x86 32-bit and arm 32-bit support.

Changed

  • [#273]: DeviceFd::get_device_attr is now marked as unsafe.
  • [#277]: Updated kvm-bindings to 0.9.1.

kvm-ioctls-v0.18.0

02 Aug 09:12
Compare
Choose a tag to compare

Changelog

v0.18.0

Added

  • [#264]: Added KVM_SET_USER_MEMORY_REGION2, KVM_CREATE_GUEST_MEMFD and KVM_SET_MEMORY_ATTRIBUTES ioctls.
  • [#267]: Added HypercallExit field to VcpuExit::Hypercall and added ExitHypercall to Cap.
  • [#270]: Added MemoryFaultInfo to Cap and propagated MemoryFault exit reason in KVM_RUN.

kvm-ioctls-v0.17.0

23 Apr 15:18
Compare
Choose a tag to compare

Changelog

v0.17.0

Changed

  • [#255]: Fixed a
    soundness issue when accessing the kvm_run struct. VcpuFd::run() and
    VcpuFd::set_kvm_immediate_exit() now take &mut self as a consequence.
  • [#260]: Updated kvm-bindings to 0.8.0.

kvm-ioctls-v0.16.0

03 Jan 14:05
Compare
Choose a tag to compare

v0.16.0

Added

  • [#242] x86: add support
    for SMI injection via Vcpu::smi() (KVM_SMI ioctl).
  • [#241] Add support for
    userspace MSR handling.
  • [#246] Add support for
    userspace NMI injection (KVM_NMI ioctl).
  • [#244] add support for
    coalesced MMIO (KVM_CAP_COALESCED_MMIO / KVM_CAP_COALESCED_PIO)

Changed

  • [#234] vcpu: export
    reg_size as a public method.
  • [#243] derived the Copy
    trait for IoEventAddress and NoDatamatch.

kvm-ioctls-v0.15.0

08 Aug 09:42
Compare
Choose a tag to compare

v0.15.0

Added

  • [#230] Added
    check_extension_raw method to use raw integer values instead
    of Cap enum.
  • [#228] arm64: add
    support for vCPU SVE feature.
  • [#219] Add Cap::ArmPtrAuthAddress
    and Cap::ArmPtrAuthGeneric capabilities.