[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH V3 02/16] migration: cpr-state
From: |
Peter Xu |
Subject: |
Re: [PATCH V3 02/16] migration: cpr-state |
Date: |
Wed, 13 Nov 2024 15:36:07 -0500 |
On Fri, Nov 01, 2024 at 06:47:41AM -0700, Steve Sistare wrote:
> CPR must save state that is needed after QEMU is restarted, when devices
> are realized. Thus the extra state cannot be saved in the migration stream,
> as objects must already exist before that stream can be loaded. Instead,
> define auxilliary state structures and vmstate descriptions, not associated
> with any registered object, and serialize the aux state to a cpr-specific
> stream in cpr_state_save. Deserialize in cpr_state_load after QEMU
> restarts, before devices are realized.
>
> Provide accessors for clients to register file descriptors for saving.
> The mechanism for passing the fd's to the new process will be specific
> to each migration mode, and added in subsequent patches.
>
> Signed-off-by: Steve Sistare <steven.sistare@oracle.com>
> Reviewed-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Peter Xu <peterx@redhat.com>
--
Peter Xu
- Re: [PATCH V3 01/16] machine: anon-alloc option, (continued)
- Re: [PATCH V3 01/16] machine: anon-alloc option, Steven Sistare, 2024/11/08
- Re: [PATCH V3 01/16] machine: anon-alloc option, David Hildenbrand, 2024/11/08
- Re: [PATCH V3 01/16] machine: anon-alloc option, Steven Sistare, 2024/11/08
- Re: [PATCH V3 01/16] machine: anon-alloc option, David Hildenbrand, 2024/11/08
- Re: [PATCH V3 01/16] machine: anon-alloc option, Peter Xu, 2024/11/08
- Re: [PATCH V3 01/16] machine: anon-alloc option, David Hildenbrand, 2024/11/08
- Re: [PATCH V3 01/16] machine: anon-alloc option, David Hildenbrand, 2024/11/08
[PATCH V3 02/16] migration: cpr-state, Steve Sistare, 2024/11/01
- Re: [PATCH V3 02/16] migration: cpr-state,
Peter Xu <=
[PATCH V3 03/16] physmem: preserve ram blocks for cpr, Steve Sistare, 2024/11/01
[PATCH V3 04/16] hostmem-memfd: preserve for cpr, Steve Sistare, 2024/11/01
[PATCH V3 05/16] migration: SCM_RIGHTS for QEMUFile, Steve Sistare, 2024/11/01
[PATCH V3 08/16] migration: cpr-uri parameter, Steve Sistare, 2024/11/01
[PATCH V3 07/16] migration: cpr-transfer save and load, Steve Sistare, 2024/11/01
[PATCH V3 06/16] migration: VMSTATE_FD, Steve Sistare, 2024/11/01
[PATCH V3 10/16] migration: split qmp_migrate, Steve Sistare, 2024/11/01