feature(xen): implement power management operations (#215)

This commit is contained in:
Alex Zenla
2024-06-28 15:13:57 -07:00
committed by GitHub
parent 0f49d0cec4
commit b42b730b77
5 changed files with 287 additions and 3 deletions

View File

@ -14,6 +14,8 @@ pub enum Error {
PopulatePhysmapFailed,
#[error("mmap batch failed: {0}")]
MmapBatchFailed(nix::errno::Errno),
#[error("specified value is too long")]
ValueTooLong,
}
pub type Result<T> = std::result::Result<T, Error>;