build: treewide: fmt for edition 2024

`cargo +nightly fmt`

Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de>
On-behalf-of: SAP philipp.schuster@sap.com
This commit is contained in:
Philipp Schuster
2025-08-12 12:59:23 +02:00
committed by Bo Chen
parent 061351d82d
commit 363273111a
121 changed files with 781 additions and 663 deletions

View File

@@ -17,7 +17,7 @@ use std::sync::atomic::{AtomicU32, Ordering};
use std::sync::{Arc, Barrier, Mutex};
use std::{ffi, result, thread};
use acpi_tables::{aml, Aml};
use acpi_tables::{Aml, aml};
use anyhow::anyhow;
use arch::RegionType;
#[cfg(target_arch = "x86_64")]
@@ -278,7 +278,9 @@ pub enum Error {
/// It's invalid to try applying a NUMA policy to a memory zone that is
/// memory mapped with MAP_SHARED.
#[error("Invalid to try applying a NUMA policy to a memory zone that is memory mapped with MAP_SHARED")]
#[error(
"Invalid to try applying a NUMA policy to a memory zone that is memory mapped with MAP_SHARED"
)]
InvalidSharedMemoryZoneWithHostNuma,
/// Failed applying NUMA memory policy.
@@ -2611,7 +2613,7 @@ impl Migratable for MemoryManager {
return Err(MigratableError::MigrateSend(anyhow!(
"Error finding 'guest memory region' with address {:x}",
r.gpa
)))
)));
}
};