[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH V2 02/11] migration: cpr-state
From: |
Fabiano Rosas |
Subject: |
Re: [PATCH V2 02/11] migration: cpr-state |
Date: |
Wed, 17 Jul 2024 15:39:23 -0300 |
Steve Sistare <steven.sistare@oracle.com> writes:
> 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>
- Re: [PATCH V2 02/11] migration: cpr-state,
Fabiano Rosas <=