introduce xencl for high-level interaction with xen

This commit is contained in:
Alex Zenla committed 2024-01-08 23:23:26 -08:00
1 parent faf8027590
commit c9f61ec72f
6 files changed
+105 -5

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
use std::collections::HashMap;
use xencl::{XenClient, XenClientError};
fn main() -> Result<(), XenClientError> {
let mut client = XenClient::open()?;
let entries: HashMap<String, String> = HashMap::new();
client.create(2, entries)?;
Ok(())
}