qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v8 21/54] Return path: Source handling of return


From: Juan Quintela
Subject: Re: [Qemu-devel] [PATCH v8 21/54] Return path: Source handling of return path
Date: Tue, 20 Oct 2015 13:33:28 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

"Dr. David Alan Gilbert (git)" <address@hidden> wrote:
> From: "Dr. David Alan Gilbert" <address@hidden>
>
> Open a return path, and handle messages that are received upon it.
>
> Signed-off-by: Dr. David Alan Gilbert <address@hidden>

Reviewed-by: Juan Quintela <address@hidden>

> +/*
> + * Return true if we're already in the middle of a migration
> + * (i.e. any of the active or setup states)
> + */
> +static bool migration_is_active(MigrationState *ms)
> +{
> +    switch (ms->state) {
> +    case MIGRATION_STATUS_ACTIVE:
> +    case MIGRATION_STATUS_SETUP:
> +        return true;
> +
> +    default:
> +        return false;
> +
> +    }
> +}
> +


If you have to resend, you can split this bit, and update users around.



reply via email to

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