diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2025-02-12 18:07:13 +1100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2025-02-12 19:47:07 +0100 |
commit | 5911e08c0f53e46547e7eeb1dd824c8ab96e512e (patch) | |
tree | 2bd1f11eda2501cff2d3a983eb144d26c1c66a4e /util.c | |
parent | 836fe215e049ee423750d3315a02742d8224eab2 (diff) | |
download | passt-5911e08c0f53e46547e7eeb1dd824c8ab96e512e.tar passt-5911e08c0f53e46547e7eeb1dd824c8ab96e512e.tar.gz passt-5911e08c0f53e46547e7eeb1dd824c8ab96e512e.tar.bz2 passt-5911e08c0f53e46547e7eeb1dd824c8ab96e512e.tar.lz passt-5911e08c0f53e46547e7eeb1dd824c8ab96e512e.tar.xz passt-5911e08c0f53e46547e7eeb1dd824c8ab96e512e.tar.zst passt-5911e08c0f53e46547e7eeb1dd824c8ab96e512e.zip |
migrate: Skeleton of live migration logic
Introduce facilities for guest migration on top of vhost-user
infrastructure. Add migration facilities based on top of the current
vhost-user infrastructure, moving vu_migrate() and related functions
to migrate.c.
Versioned migration stages define function pointers to be called on
source or target, or data sections that need to be transferred.
The migration header consists of a magic number, a version number for the
encoding, and a "compat_version" which represents the oldest version which
is compatible with the current one. We don't use it yet, but that allows
for the future possibility of backwards compatible protocol extensions.
Co-authored-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'util.c')
0 files changed, 0 insertions, 0 deletions