Skip to content

Commit af9424c

Browse files
committed
fix(fdt): Improve reporting of errors related to FDT setup
Change the doc comment (which also affects the implementation of `std::fmt::Display`) for `ConfigurationError::SetupFDT` to include the underlying `fdt::FtdError`. This improves both the reporting of failures during FDT setup on the logs, as well as the message in API server's corresponding HTTP response. Signed-off-by: Christos Katsakioris <ckatsak@cslab.ece.ntua.gr> Signed-off-by: Filippos Tofalos <phtof@cslab.ece.ntua.gr>
1 parent 8c8ee32 commit af9424c

File tree

1 file changed

+1
-1
lines changed
  • src/vmm/src/arch/aarch64

1 file changed

+1
-1
lines changed

src/vmm/src/arch/aarch64/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ use crate::vstate::memory::{Address, Bytes, GuestAddress, GuestMemory, GuestMemo
2828
/// Errors thrown while configuring aarch64 system.
2929
#[derive(Debug, thiserror::Error, displaydoc::Display)]
3030
pub enum ConfigurationError {
31-
/// Failed to create a Flattened Device Tree for this aarch64 microVM.
31+
/// Failed to create a Flattened Device Tree for this aarch64 microVM: {0}
3232
SetupFDT(#[from] fdt::FdtError),
3333
/// Failed to compute the initrd address.
3434
InitrdAddress,

0 commit comments

Comments
 (0)