]> git.ipfire.org Git - thirdparty/qemu.git/commit
migration: ram block cpr blockers
authorSteve Sistare <steven.sistare@oracle.com>
Thu, 27 Feb 2025 14:48:01 +0000 (06:48 -0800)
committerFabiano Rosas <farosas@suse.de>
Mon, 10 Mar 2025 15:09:24 +0000 (12:09 -0300)
commit094a3dbc55df1bbd2169eaf784cb75b594a72941
treea69d66ac646d68ba84400fbe178ca6e5ae62f909
parentd657a14de5d597bbfe7b54e4c4f0646f440e98ad
migration: ram block cpr blockers

Unlike cpr-reboot mode, cpr-transfer mode cannot save volatile ram blocks
in the migration stream file and recreate them later, because the physical
memory for the blocks is pinned and registered for vfio.  Add a blocker
for volatile ram blocks.

Also add a blocker for RAM_GUEST_MEMFD.  Preserving guest_memfd may be
sufficient for CPR, but it has not been tested yet.

Signed-off-by: Steve Sistare <steven.sistare@oracle.com>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Peter Xu <peterx@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Message-ID: <1740667681-257312-1-git-send-email-steven.sistare@oracle.com>
Signed-off-by: Fabiano Rosas <farosas@suse.de>
include/exec/memory.h
include/exec/ramblock.h
migration/savevm.c
system/physmem.c