qemu-devel
[Top][All Lists]
Advanced

[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 :|




reply via email to

[Prev in Thread] Current Thread [Next in Thread]