mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-22 11:22:26 +00:00
During a migration, the vhost-user device talks to the backend to retrieve the dirty pages. Once done with this, a snapshot will be taken, meaning there's no need to communicate with the backend anymore. Closing the communication is needed to let the destination VM being able to connect to the same backend. That's why we shutdown the communication with the backend in case a migration has been started and we're asked for a snapshot. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>