[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 04/29] migration: Return the saved state from global_state
From: |
Daniel P . Berrangé |
Subject: |
Re: [PATCH v2 04/29] migration: Return the saved state from global_state_store |
Date: |
Wed, 25 Oct 2023 11:19:50 +0100 |
User-agent: |
Mutt/2.2.9 (2022-11-12) |
On Mon, Oct 23, 2023 at 05:35:43PM -0300, Fabiano Rosas wrote:
> There is a pattern of calling runstate_get() to store the current
> runstate and calling global_state_store() to save the current runstate
> for migration. Since global_state_store() also calls runstate_get(),
> make it return the runstate instead.
>
> Signed-off-by: Fabiano Rosas <farosas@suse.de>
> ---
> include/migration/global_state.h | 2 +-
> migration/global_state.c | 7 +++++--
> migration/migration.c | 6 ++----
> 3 files changed, 8 insertions(+), 7 deletions(-)
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
With regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
- [PATCH v2 01/29] tests/qtest: migration events, (continued)
- [PATCH v2 01/29] tests/qtest: migration events, Fabiano Rosas, 2023/10/23
- [PATCH v2 03/29] tests/qtest: Allow waiting for migration events, Fabiano Rosas, 2023/10/23
- [PATCH v2 02/29] tests/qtest: Move QTestMigrationState to libqtest, Fabiano Rosas, 2023/10/23
- [PATCH v2 04/29] migration: Return the saved state from global_state_store, Fabiano Rosas, 2023/10/23
- Re: [PATCH v2 04/29] migration: Return the saved state from global_state_store,
Daniel P . Berrangé <=
- [PATCH v2 05/29] migration: Introduce global_state_store_once, Fabiano Rosas, 2023/10/23
- [PATCH v2 06/29] migration: Add auto-pause capability, Fabiano Rosas, 2023/10/23
- Re: [PATCH v2 06/29] migration: Add auto-pause capability, Daniel P . Berrangé, 2023/10/25