Skip to content

Releases: rust-vmm/kvm-ioctls

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.

kvm-ioctls-v0.14.0

29 May 09:57
Compare
Choose a tag to compare

Added

  • [#219] Support for KVM_GET_MSR_FEATURE_INDEX_LIST and KVM_GET_MSRS system ioctls.
  • [#221] Add Cap::ArmPmuV3.

Changed

  • [#223] aarch64: Updated get/set_one_reg to support different registers sizes through byte slices.

kvm-ioctls-v0.13.0

02 Feb 09:22
Compare
Choose a tag to compare

v0.13.0

Added

  • [#213] Add Kvm::new_with_path()
    and Kvm::open_with_cloexec_at() to allow using kvm device files other than
    /dev/kvm.

kvm-ioctls v0.12.0

11 Nov 13:39
Compare
Choose a tag to compare

Added

  • [#187] Support for KVM_SET_IDENTITY_MAP_ADDR
  • Derive Debug for all exported structs and enums
  • [#189] Expose KVM_SET_ and KVM_HAS_DEVICE_ATTR for vcpu
  • [#191] Add KVM_TRANSLATE support and the translate_gva function tha translates guest virtual address to the physical address
  • [#190] Enable usage of sync_regs to allow bulk getting and setting of general purpose registers, reducing the number of ioctls needed.
  • [#198] Return details about KVM_EXIT_FAIL_ENTRY in vCPU run
  • [#199] Add register_irqfd_with_resample so that irqfd + resaplefd can be registered through KVM_IRQFD
  • [#202] Add KVM_CAP_GUEST_DEBUG_HVM_DPS/WPS
  • [#202] Added check_extension_int which allows checking the capabilities that return numbers instead of booleans

Changed

  • Updated vmm-sys-util to 0.11.0
  • Updated kvm-bindings to 0.6.0
  • Upgraded to rust 2021 edition
  • Switched to specifying dependencies using caret requirements instead of comparision requirements
  • [#195] Do not panic on unsupported KVM_EXIT reason
  • [#196] Expose a mutable reference to the kvm_run structure to allow proper handling of unsupported exit reasons
  • [#200] Fix wrong target_arch gate preventing set_guest_debug from being exported on ARM
  • [#206] use u128 in get/set_on_reg

kvm-ioctls-v0.11.0

03 Dec 17:13
Compare
Choose a tag to compare

Added

  • [#178] Support for the AMD Security Encrypted Virtualization (SEV) through the following VM ioctls: encrypt_op, encrypt_op_sev, register_enc_memory_region and unregister_enc_memory_region.
  • [#184] DeviceFd now derives Debug.

v0.10.0

24 Aug 13:44
Compare
Choose a tag to compare

Changed

  • Now depends on kvm-bindings >=0.5.0 which replaced the v4.20 KVM bindings
    with the v5.13 ones.
  • Updated VcpuExit::Debug to return architecture specific information for the
    debug event.