qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 02/41] migration: always use vm_stop_force_state


From: Juan Quintela
Subject: Re: [Qemu-devel] [PATCH 02/41] migration: always use vm_stop_force_state
Date: Thu, 21 Feb 2013 18:06:45 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)

Paolo Bonzini <address@hidden> wrote:
> vm_stop_force_state does:
>
>     if (runstate_is_running()) {
>         vm_stop(state);
>     } else {
>         runstate_set(state);
>     }
>
> migration.c does:
>
>     if (runstate_is_running()) {
>         vm_stop(state);
>     } else {
>         vm_stop_force_state(state);
>     }
>
> The code run is the same even if we always use vm_stop_force_state in
> migration.c.
>
> Signed-off-by: Paolo Bonzini <address@hidden>

Reviewed-by: Juan Quintela <address@hidden>



reply via email to

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