cleanup elf loader and more work towards boot support

This commit is contained in:
Alex Zenla committed 2024-01-10 10:08:39 -08:00
1 parent 5ff0ea8a1b
commit d46d0cf0c3
7 files changed
+134 -53

No files matched your search

+2 -2
View File
@@ -5,7 +5,7 @@ use xencall::{XenCall, XenCallError};
fn main() -> Result<(), XenCallError> {
let call = XenCall::open()?;
let domctl: DomainControl = DomainControl::new(&call);
let info = domctl.create_domain(CreateDomain::default())?;
println!("created domain {}", info.domid);
let domid = domctl.create_domain(CreateDomain::default())?;
println!("created domain {}", domid);
Ok(())
}