os: build bootable images

This commit is contained in:
Alex Zenla
2024-03-10 00:22:24 +00:00
parent 817509bcef
commit 4894bd9d1c
28 changed files with 384 additions and 82 deletions

View File

@ -5,7 +5,7 @@ use xencall::XenCall;
fn main() -> Result<()> {
env_logger::init();
let call = XenCall::open()?;
let call = XenCall::open(0)?;
let domid = call.create_domain(CreateDomain::default())?;
println!("created domain {}", domid);
Ok(())