Skip to content

Commit

Permalink
update calls to create_fdt
Browse files Browse the repository at this point in the history
Signed-off-by: jackabald <[email protected]>
  • Loading branch information
jackabald committed Jul 26, 2024
1 parent 49039b3 commit 0182520
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/vmm/src/arch/aarch64/fdt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ mod tests {
let kvm = Kvm::new().unwrap();
let vm = kvm.create_vm().unwrap();
let gic = create_gic(&vm, 1, None).unwrap();
create_fdt(
let fdt_with_devices = create_fdt(
&mem,
vec![0],
CString::new("console=tty0").unwrap(),
Expand All @@ -533,7 +533,7 @@ mod tests {
let kvm = Kvm::new().unwrap();
let vm = kvm.create_vm().unwrap();
let gic = create_gic(&vm, 1, None).unwrap();
create_fdt(
let fdt_with_vmgenid = create_fdt(
&mem,
vec![0],
CString::new("console=tty0").unwrap(),
Expand Down
2 changes: 1 addition & 1 deletion src/vmm/src/arch/aarch64/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ pub fn configure_system<T: DeviceInfoForFDT + Clone + Debug, S: std::hash::Build
vmgenid: &Option<VmGenId>,
initrd: &Option<super::InitrdConfig>,
) -> Result<(), ConfigurationError> {
fdt::create_fdt(
let fdt = fdt::create_fdt(
guest_mem,
vcpu_mpidr,
cmdline_cstring,
Expand Down

0 comments on commit 0182520

Please sign in to comment.