(&self)
| 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 { |
no test coverage detected