mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
The boot time tests inferred guest readiness from the two debug I/O port markers on stderr. Heavier boots could miss the fixed sleep window, capture a single marker, and panic. Wait on the cloud-init injected notify-booted callback through guest.wait_vm_boot() instead. Once the callback fires, both markers are guaranteed present, so they are parsed only for the metric. The host side keeps an overall timeout, so a guest that never boots is still reaped. Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>