mirror of
https://github.com/edera-dev/krata.git
synced 2025-08-03 13:11:31 +00:00
os: build bootable images
This commit is contained in:
@ -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(())
|
||||
|
Reference in New Issue
Block a user