summary refs log tree commit diff stats
path: root/migration/migration.c
diff options
context:
space:
mode:
authorSteve Sistare <steven.sistare@oracle.com>2025-10-01 08:33:57 -0700
committerPeter Xu <peterx@redhat.com>2025-10-03 09:48:02 -0400
commitefc65873131dac48d2f7620adfcd683834acc94b (patch)
treeb621c7c320bcda67611bfd0787a9267b567a2711 /migration/migration.c
parentf57ff59f1e14f8162efda41725d1c013ed76b7d7 (diff)
downloadfocaccia-qemu-efc65873131dac48d2f7620adfcd683834acc94b.tar.gz
focaccia-qemu-efc65873131dac48d2f7620adfcd683834acc94b.zip
migration: cpr-exec save and load
To preserve CPR state across exec, create a QEMUFile based on a memfd, and
keep the memfd open across exec.  Save the value of the memfd in an
environment variable so post-exec QEMU can find it.

These new functions are called in a subsequent patch.

Signed-off-by: Steve Sistare <steven.sistare@oracle.com>
Link: https://lore.kernel.org/r/1759332851-370353-6-git-send-email-steven.sistare@oracle.com
[peterx: fix build for Windows]
Signed-off-by: Peter Xu <peterx@redhat.com>
Diffstat (limited to 'migration/migration.c')
0 files changed, 0 insertions, 0 deletions