file restore: improve some comment
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
3f780ddf73
commit
1ea3f23f7e
@ -317,8 +317,7 @@ pub async fn start_vm(
|
|||||||
}
|
}
|
||||||
return Ok((pid, cid as i32));
|
return Ok((pid, cid as i32));
|
||||||
}
|
}
|
||||||
if kill(pid_t, None).is_err() {
|
if kill(pid_t, None).is_err() { // check if QEMU process exited in between
|
||||||
// QEMU exited
|
|
||||||
bail!("VM exited before connection could be established");
|
bail!("VM exited before connection could be established");
|
||||||
}
|
}
|
||||||
time::sleep(Duration::from_millis(200)).await;
|
time::sleep(Duration::from_millis(200)).await;
|
||||||
|
Loading…
Reference in New Issue
Block a user