On 07/18/2013 08:23 PM, 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 <p.pa...@gmail.com> > --- > migration.c | 1 + > 1 file changed, 1 insertion(+)
Reviewed-by: Eric Blake <ebl...@redhat.com> > > 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; > -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature