Searched hist:"2 b7e9739fad8812d74e5e0ff4433ec25fb461281" (Results 1 – 1 of 1) sorted by relevance
/qemu/system/ |
H A D | physmem.c | 2b7e9739fad8812d74e5e0ff4433ec25fb461281 Wed Jan 15 19:00:34 UTC 2025 Steve Sistare <steven.sistare@oracle.com> physmem: preserve ram blocks for cpr
Save the memfd for ramblocks in CPR state, along with a name that uniquely identifies it. The block's idstr is not yet set, so it cannot be used for this purpose. Find the saved memfd in new QEMU when creating a block. If size of a resizable block is larger in new QEMU, extend it via the file_ram_alloc truncate parameter, and the extra space will be usable after a guest reset.
Signed-off-by: Steve Sistare <steven.sistare@oracle.com> Reviewed-by: Peter Xu <peterx@redhat.com> Link: https://lore.kernel.org/r/1736967650-129648-9-git-send-email-steven.sistare@oracle.com Signed-off-by: Fabiano Rosas <farosas@suse.de>
|