mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
Avoid panicking when nvidia-smi fails during GPU checks. Run the command through a shell wrapper that preserves stdout and stderr even when nvidia-smi exits with a failure status. Keep printing guest dmesg on failure and label the nvidia-smi text as diagnostic output, since SSH-level failures are reported through the same path. Assisted-by: OpenCode:gpt-5.5 Signed-off-by: Damian Barabonkov <dbctl@pm.me>