MCPcopy Create free account
hub / github.com/cloud-hypervisor/cloud-hypervisor / wait_for_boot

Method wait_for_boot

cloud-hypervisor/tests/integration.rs:9796–9809  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

9794 }
9795
9796 fn wait_for_boot(&self) -> Result<(), WaitForSshError> {
9797 let out = wait_for_ssh(
9798 "dir /b c:\\ | find \"Windows\"",
9799 &self.auth,
9800 &self.guest.network.guest_ip0,
9801 Duration::from_secs(180),
9802 )?;
9803
9804 if out.trim() == "Windows" {
9805 Ok(())
9806 } else {
9807 panic!("Unexpected Windows boot probe output: {:?}", out.trim());
9808 }
9809 }
9810 }
9811
9812 fn vcpu_threads_count(pid: u32) -> u8 {

Calls 1

wait_for_sshFunction · 0.85

Tested by

no test coverage detected