introduce xencl for high-level interaction with xen

This commit is contained in:
Alex Zenla
2024-01-08 23:23:26 -08:00
parent faf8027590
commit c9f61ec72f
6 changed files with 105 additions and 5 deletions

View File

@ -29,7 +29,7 @@ fn list_recursive(client: &mut XsdClient, level: usize, path: &str) -> Result<()
}
fn main() -> Result<(), XsdBusError> {
let mut client = XsdClient::new()?;
let mut client = XsdClient::open()?;
list_recursive(&mut client, 0, "/")?;
Ok(())
}