mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
build: Bump linux-loader from 0.6.0 to 0.7.0
Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
committed by
dependabot[bot]
parent
103fe1f48b
commit
6e0bd73c90
+1
-1
@@ -27,7 +27,7 @@ gdbstub = { version = "0.6.3", optional = true }
|
||||
gdbstub_arch = { version = "0.2.4", optional = true }
|
||||
hypervisor = { path = "../hypervisor" }
|
||||
libc = "0.2.137"
|
||||
linux-loader = { version = "0.6.0", features = ["elf", "bzimage", "pe"] }
|
||||
linux-loader = { version = "0.7.0", features = ["elf", "bzimage", "pe"] }
|
||||
log = "0.4.17"
|
||||
micro_http = { git = "https://github.com/firecracker-microvm/micro-http", branch = "main" }
|
||||
net_util = { path = "../net_util" }
|
||||
|
||||
+4
-1
@@ -127,6 +127,9 @@ pub enum Error {
|
||||
#[error("Cannot modify the kernel command line: {0}")]
|
||||
CmdLineInsertStr(#[source] linux_loader::cmdline::Error),
|
||||
|
||||
#[error("Cannot create the kernel command line: {0}")]
|
||||
CmdLineCreate(#[source] linux_loader::cmdline::Error),
|
||||
|
||||
#[error("Cannot configure system: {0}")]
|
||||
ConfigureSystem(#[source] arch::Error),
|
||||
|
||||
@@ -897,7 +900,7 @@ impl Vm {
|
||||
payload: &PayloadConfig,
|
||||
#[cfg(target_arch = "aarch64")] device_manager: &Arc<Mutex<DeviceManager>>,
|
||||
) -> Result<Cmdline> {
|
||||
let mut cmdline = Cmdline::new(arch::CMDLINE_MAX_SIZE);
|
||||
let mut cmdline = Cmdline::new(arch::CMDLINE_MAX_SIZE).map_err(Error::CmdLineCreate)?;
|
||||
if let Some(s) = payload.cmdline.as_ref() {
|
||||
cmdline.insert_str(s).map_err(Error::CmdLineInsertStr)?;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user