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.5.0 to 0.6.0
Bumps [linux-loader](https://github.com/rust-vmm/linux-loader) from 0.5.0 to 0.6.0. - [Release notes](https://github.com/rust-vmm/linux-loader/releases) - [Changelog](https://github.com/rust-vmm/linux-loader/blob/main/CHANGELOG.md) - [Commits](https://github.com/rust-vmm/linux-loader/compare/v0.5.0...v0.6.0) --- updated-dependencies: - dependency-name: linux-loader dependency-type: direct:production update-type: version-update:semver-minor ... 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
76903e5fd0
commit
66c092e69b
+6
-3
@@ -1306,7 +1306,7 @@ impl Vm {
|
||||
|
||||
arch::configure_system(
|
||||
&mem,
|
||||
cmdline.as_str(),
|
||||
cmdline.as_cstring().unwrap().to_str().unwrap(),
|
||||
vcpu_mpidrs,
|
||||
vcpu_topology,
|
||||
device_info,
|
||||
@@ -1992,8 +1992,11 @@ impl Vm {
|
||||
let cmdline = Self::generate_cmdline(
|
||||
self.config.lock().unwrap().payload.as_ref().unwrap(),
|
||||
)?;
|
||||
mem.write_slice(cmdline.as_str().as_bytes(), GuestAddress(section.address))
|
||||
.unwrap();
|
||||
mem.write_slice(
|
||||
cmdline.as_cstring().unwrap().as_bytes_with_nul(),
|
||||
GuestAddress(section.address),
|
||||
)
|
||||
.unwrap();
|
||||
}
|
||||
_ => {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user