cleanup elf loader and more work towards boot support

This commit is contained in:
Alex Zenla
2024-01-10 10:08:39 -08:00
parent 5ff0ea8a1b
commit d46d0cf0c3
7 changed files with 134 additions and 53 deletions

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(())
}