mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
Address translation or guest memory write failures on the receiveq propagated errors that killed the console device thread. Log a warning and break out of the descriptor loop instead. Also fix a data-loss bug: bytes were drained from the input buffer before the write to guest memory, so a failed write would silently discard the data. Copy first, write, then drain only on success. Signed-off-by: Rob Bradford <rbradford@meta.com> Assisted-by: Claude:claude-opus-4-6