From 1042168435c09199669979ac45f2fa70dccf9ce8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 2 Jun 2025 17:08:40 +0000 Subject: [PATCH 1/2] Bump vmm-sys-util from 0.13.0 to 0.14.0 Bumps [vmm-sys-util](https://github.com/rust-vmm/vmm-sys-util) from 0.13.0 to 0.14.0. - [Release notes](https://github.com/rust-vmm/vmm-sys-util/releases) - [Changelog](https://github.com/rust-vmm/vmm-sys-util/blob/main/CHANGELOG.md) - [Commits](https://github.com/rust-vmm/vmm-sys-util/compare/v0.13.0...v0.14.0) --- updated-dependencies: - dependency-name: vmm-sys-util dependency-version: 0.14.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Cargo.lock | 24 +++++++----------------- src/hyperlight_host/Cargo.toml | 2 +- 2 files changed, 8 insertions(+), 18 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 1ef2a325a..62160ec91 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1239,7 +1239,7 @@ dependencies = [ "tracing-subscriber", "tracing-tracy", "uuid", - "vmm-sys-util 0.13.0", + "vmm-sys-util", "windows 0.61.1", "windows-result 0.3.2", "windows-sys 0.59.0", @@ -1558,7 +1558,7 @@ version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d4b153a59bb3ca930ff8148655b2ef68c34259a623ae08cf2fb9b570b2e45363" dependencies = [ - "vmm-sys-util 0.14.0", + "vmm-sys-util", ] [[package]] @@ -1570,7 +1570,7 @@ dependencies = [ "bitflags 2.9.1", "kvm-bindings", "libc", - "vmm-sys-util 0.14.0", + "vmm-sys-util", ] [[package]] @@ -1824,7 +1824,7 @@ checksum = "f416b4432174e5a3f956a7887f4c1a4acea9511d81def67fcb8473293630ab9e" dependencies = [ "libc", "num_enum", - "vmm-sys-util 0.13.0", + "vmm-sys-util", "zerocopy 0.7.35", ] @@ -1836,7 +1836,7 @@ checksum = "1e0cb5031f3243a7459b7c13d960d25420980874eebda816db24ce6077e21d43" dependencies = [ "libc", "num_enum", - "vmm-sys-util 0.13.0", + "vmm-sys-util", "zerocopy 0.8.24", ] @@ -1849,7 +1849,7 @@ dependencies = [ "libc", "mshv-bindings 0.2.1", "thiserror 1.0.69", - "vmm-sys-util 0.13.0", + "vmm-sys-util", ] [[package]] @@ -1861,7 +1861,7 @@ dependencies = [ "libc", "mshv-bindings 0.3.2", "thiserror 2.0.12", - "vmm-sys-util 0.13.0", + "vmm-sys-util", ] [[package]] @@ -3526,16 +3526,6 @@ version = "0.9.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" -[[package]] -name = "vmm-sys-util" -version = "0.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "945fecc32d9b44069437b7aacd2257556a91a2054ae10e9e7538fe498e442db9" -dependencies = [ - "bitflags 1.3.2", - "libc", -] - [[package]] name = "vmm-sys-util" version = "0.14.0" diff --git a/src/hyperlight_host/Cargo.toml b/src/hyperlight_host/Cargo.toml index 5e7fb41a3..7efff5e6a 100644 --- a/src/hyperlight_host/Cargo.toml +++ b/src/hyperlight_host/Cargo.toml @@ -34,7 +34,7 @@ tracing = { version = "0.1.41", features = ["log"] } tracing-log = "0.2.0" tracing-core = "0.1.33" hyperlight-common = { workspace = true, default-features = true } -vmm-sys-util = "0.13.0" +vmm-sys-util = "0.14.0" crossbeam = "0.8.0" crossbeam-channel = "0.5.15" thiserror = "2.0.12" From 251fbb652f050940d1bf3fcf4847e788034c02d6 Mon Sep 17 00:00:00 2001 From: Simon Davies Date: Mon, 2 Jun 2025 19:03:34 +0100 Subject: [PATCH 2/2] Update hyperlight error to remove KVM specific error Signed-off-by: Simon Davies --- src/hyperlight_host/src/error.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/hyperlight_host/src/error.rs b/src/hyperlight_host/src/error.rs index b666d146f..7162f4fcf 100644 --- a/src/hyperlight_host/src/error.rs +++ b/src/hyperlight_host/src/error.rs @@ -150,11 +150,6 @@ pub enum HyperlightError { #[error("The flatbuffer is invalid")] InvalidFlatBuffer(#[from] InvalidFlatbuffer), - /// Error occurred in KVM Operation - #[error("KVM Error {0:?}")] - #[cfg(kvm)] - KVMError(#[from] kvm_ioctls::Error), - /// Conversion of str to Json failed #[error("Conversion of str data to json failed")] JsonConversionFailure(#[from] serde_json::Error),