rust-vmm / vfio

14 stars 20 forks source link

build(deps): bump kvm-ioctls from 0.12.0 to 0.13.0 #26

Closed Lencerf closed 1 year ago

Lencerf commented 1 year ago

Summary of the PR

The purpose is to enable VMMs (cloud-hypervisor) use kvm device file other than /dev/kvm. See https://github.com/rust-vmm/kvm-ioctls/commit/3de4150068183b640ac307ac47674bbc8e7c8695 .

bumping kvm-ioctls version to resolve the following error:

error[E0308]: mismatched types
   --> hypervisor/src/kvm/mod.rs:330:39
    |
330 |         Ok(VfioDeviceFd::new_from_kvm(device_fd))
    |            -------------------------- ^^^^^^^^^ expected struct `kvm_ioctls::ioctls::device::DeviceFd`, found struct `DeviceFd`
    |            |
    |            arguments to this function are incorrect
    |
    = note: perhaps two different versions of crate `kvm_ioctls` are being used?

Requirements