xenstore: watch support

This commit is contained in:
Alex Zenla
2024-02-24 05:44:51 +00:00
parent 670e140682
commit acd94a2418
13 changed files with 526 additions and 199 deletions

View File

@ -41,7 +41,7 @@ impl ContainerBackground {
}
async fn death(&mut self, code: c_int) -> Result<()> {
let mut store = XsdClient::open().await?;
let store = XsdClient::open().await?;
store
.write_string("krata/guest/exit-code", &code.to_string())
.await?;