xenstore: watch support (#4)

This commit is contained in:
Alex Zenla
2024-03-07 04:14:25 -08:00
committed by GitHub
parent 670e140682
commit 182401371b
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?;