move xen libraries to xen/

This commit is contained in:
Alex Zenla
2024-01-22 22:33:50 -08:00
parent 31739605a2
commit ba418649db
27 changed files with 6 additions and 6 deletions

View File

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