pub async fn probe_setup_done(
host: &str,
port: u16,
user: &str,
pass: &str,
) -> Result<GuestProgress>Expand description
Guest readiness probe over a real SSH login (password auth). Asks the
guest itself whether Setup is finished instead of inferring it from
banner timing: four registry reads through cmd+reg.exe (millisecond
startup, no PowerShell cold start per probe).
Returns GuestProgress::Ready = finished, GuestProgress::Busy =
still working (with what is pending), Err = SSH/login/exec failure
(caller treats as “not yet” — sshd may be mid-restart during reboots).
No marker lines at all means the probe command itself broke (quoting,
channel) — a ProbeOutputBroken error, never a silent Busy limp.