mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
The vhost-user protocol now has support for the backend to provide an opaque blob of data (read or written through a pipe) that the VMM can use to save/restore state after snapshot/restore or live migration. It also adds a command for checking the backend accepts the uploaded device state. One quirk of saving the state is that GET_VRING_BASE must be used first to quiesce the state of the backend and flush any in-flight requests. This then also requires saving that index for use on the restore. Signed-off-by: Rob Bradford <rbradford@meta.com>