qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] migration: send total time in QMP at "completed


From: Orit Wasserman
Subject: Re: [Qemu-devel] [PATCH] migration: send total time in QMP at "completed" stage
Date: Mon, 22 Jul 2013 10:29:59 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7

On 07/19/2013 05:23 AM, Pawit Pornkitprasan wrote:
> The "completed" stage sets total_time but not has_total_time and
> thus it is not sent via QMP reply (but sent via HMP nevertheless)
> 
> Signed-off-by: Pawit Pornkitprasan <address@hidden>
> ---
>  migration.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/migration.c b/migration.c
> index 9f5a423..4c16f2e 100644
> --- a/migration.c
> +++ b/migration.c
> @@ -219,6 +219,7 @@ MigrationInfo *qmp_query_migrate(Error **errp)
>  
>          info->has_status = true;
>          info->status = g_strdup("completed");
> +        info->has_total_time = true;
>          info->total_time = s->total_time;
>          info->has_downtime = true;
>          info->downtime = s->downtime;
> 

Reviewed-by: Orit Wasserman <address@hidden>



reply via email to

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