From d3b8300e9c87285aa0ee563b23531e03c74b1bbe Mon Sep 17 00:00:00 2001 From: Ruoqing He Date: Mon, 13 Oct 2025 02:56:44 +0000 Subject: [PATCH] build: Update linux-loader to v0.13.1 Required kernel header are made public in v0.13.1, let's bump to consume the change. Signed-off-by: Ruoqing He --- Cargo.lock | 5 +++-- Cargo.toml | 3 +-- fuzz/Cargo.lock | 5 +++-- fuzz/Cargo.toml | 7 +------ 4 files changed, 8 insertions(+), 12 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 251b12b1d..11a9ac46a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1155,8 +1155,9 @@ dependencies = [ [[package]] name = "linux-loader" -version = "0.13.0" -source = "git+https://github.com/rust-vmm/linux-loader?branch=main#5fdaed87ddafc89d6abf0b50195a12d19133000d" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "53802c0b111faf302a16fa20a2e3a33bd0eab408f60fc34cbfe052f6b153791e" dependencies = [ "vm-memory", ] diff --git a/Cargo.toml b/Cargo.toml index 58c1eb11a..50c22bf42 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -109,8 +109,7 @@ package.edition = "2024" acpi_tables = { git = "https://github.com/rust-vmm/acpi_tables", branch = "main" } kvm-bindings = "0.12.1" kvm-ioctls = "0.22.1" -# TODO: update to 0.13.1+ -linux-loader = { git = "https://github.com/rust-vmm/linux-loader", branch = "main" } +linux-loader = "0.13.1" mshv-bindings = "0.6.0" mshv-ioctls = "0.6.0" seccompiler = "0.5.0" diff --git a/fuzz/Cargo.lock b/fuzz/Cargo.lock index 151910aa6..cbcd92e70 100644 --- a/fuzz/Cargo.lock +++ b/fuzz/Cargo.lock @@ -605,8 +605,9 @@ dependencies = [ [[package]] name = "linux-loader" -version = "0.13.0" -source = "git+https://github.com/rust-vmm/linux-loader?branch=main#5fdaed87ddafc89d6abf0b50195a12d19133000d" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "53802c0b111faf302a16fa20a2e3a33bd0eab408f60fc34cbfe052f6b153791e" dependencies = [ "vm-memory", ] diff --git a/fuzz/Cargo.toml b/fuzz/Cargo.toml index 7c71e881f..4cd3c7dd4 100644 --- a/fuzz/Cargo.toml +++ b/fuzz/Cargo.toml @@ -23,12 +23,7 @@ epoll = "4.3.3" hypervisor = { path = "../hypervisor", features = ["mshv_emulator"] } libc = "0.2.176" libfuzzer-sys = "0.4.10" -# TODO: update to 0.13.1+ -linux-loader = { git = "https://github.com/rust-vmm/linux-loader", branch = "main", features = [ - "bzimage", - "elf", - "pe", -] } +linux-loader = { version = "0.13.1", features = ["bzimage", "elf", "pe"] } micro_http = { git = "https://github.com/firecracker-microvm/micro-http", branch = "main" } mshv-bindings = "0.6.0" net_util = { path = "../net_util" }