mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
Add a 'disconnected' flag shared between VhostUserCommon and VhostUserEpollHandler. This flag is set whenever the run loop hits an error that would cause an exit (failed reconnect, broken backend req handler, unknown event). Following commits will use this to gate backend calls in order to avoid repeated timeouts and errors when a backend disappears. This will simplify shutdown sequencing for orchestrators using vhost-user devices. Signed-off-by: Dylan Reid <dgreid@fb.com>