MCPcopy Create free account
hub / github.com/Dstack-TEE/dstack / start

Method start

vmm/src/app.rs:1232–1240  ·  view source on GitHub ↗
(&mut self, already_running: bool)

Source from the content-addressed store, hash-verified

1230
1231impl VmStateMut {
1232 pub fn start(&mut self, already_running: bool) {
1233 self.boot_progress = if already_running {
1234 "running".to_string()
1235 } else {
1236 "booting".to_string()
1237 };
1238 self.boot_error.clear();
1239 self.shutdown_progress.clear();
1240 }
1241
1242 pub fn reset_na(&mut self) {
1243 self.boot_progress = "N/A".to_string();

Callers 1

start_vmMethod · 0.45

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected