diff --git a/Cargo.lock b/Cargo.lock index cf90565..2d1d9c5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,6 +1,6 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. -version = 3 +version = 4 [[package]] name = "anstream" @@ -194,18 +194,18 @@ checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" [[package]] name = "kvm-bindings" -version = "0.8.1" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a82e7e8725a39a0015e511a46cc1f7d90cecc180db1610c4d0d4339a9e48bd21" +checksum = "3b13baf7bdfda2e10bcb109fcb099ef40cff82374eb6b7cdcf4695bdec4e522c" dependencies = [ "vmm-sys-util", ] [[package]] name = "kvm-ioctls" -version = "0.17.0" +version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bedae2ca4a531bebe311abaf9691f5cc14eaa21475243caa2e39c43bb872947d" +checksum = "083c460d5a272c2f22205973e319147b791d92a288d7d7a8d4c6194f95229440" dependencies = [ "bitflags 2.5.0", "kvm-bindings", diff --git a/Cargo.toml b/Cargo.toml index 26a39d8..3fbfdc0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,8 +16,8 @@ serde_json = "1.0.117" core_affinity = "^0.8.1" [target.'cfg(target_os = "linux")'.dependencies] -kvm-ioctls = { version = "0.17", optional = true } -kvm-bindings = { version = "0.8", features = ["fam-wrappers"], optional = true } +kvm-ioctls = { version = "0.21", optional = true } +kvm-bindings = { version = "0.11", features = ["fam-wrappers"], optional = true } [features] default = ["use_msr", "kvm"] diff --git a/src/kvm.rs b/src/kvm.rs index 0772193..1b47618 100644 --- a/src/kvm.rs +++ b/src/kvm.rs @@ -10,7 +10,7 @@ use std::error::Error; * Other structures such as CPUInfo will then make it accessible like the cpuid function */ pub struct KvmInfo { - cpuid_info: kvm_bindings::fam_wrappers::CpuId, + cpuid_info: kvm_bindings::CpuId, } impl KvmInfo {