mirror of
https://github.com/edera-dev/krata.git
synced 2025-08-04 05:31:32 +00:00
os: build bootable images
This commit is contained in:
@ -2,9 +2,11 @@ use std::io;
|
||||
|
||||
#[derive(thiserror::Error, Debug)]
|
||||
pub enum Error {
|
||||
#[error("kernel error")]
|
||||
#[error("version of xen is not supported")]
|
||||
XenVersionUnsupported,
|
||||
#[error("kernel error: {0}")]
|
||||
Kernel(#[from] nix::errno::Errno),
|
||||
#[error("io issue encountered")]
|
||||
#[error("io issue encountered: {0}")]
|
||||
Io(#[from] io::Error),
|
||||
#[error("populate physmap failed")]
|
||||
PopulatePhysmapFailed,
|
||||
|
Reference in New Issue
Block a user